DocumentContent: {
    data?: string;
    mime_type?: DocumentContentMimeType;
    type: "document";
    uri?: string;
}

A document content block.

Type declaration

  • Optionaldata?: string

    The document content.

  • Optionalmime_type?: DocumentContentMimeType

    The mime type of the document.

  • type: "document"
  • Optionaluri?: string

    The URI of the document.