Function Response Blob
@Serializable
Raw media bytes for function response. Text should not be sent as raw bytes, use the 'text' field.
Properties
Link copied to clipboard
Required. Raw bytes.
Link copied to clipboard
Optional. Display name of the blob. Used to provide a label or filename to distinguish blobs. This field is only returned in PromptMessage for prompt management. It is currently used in the Gemini GenerateContent calls only when server side tools (code_execution, google_search, and url_context) are enabled. This field is not supported in Gemini API.