A document content block.

interface DocumentContent {
    data?: string;
    mime_type?: "application/pdf";
    type: "document";
    uri?: string;
}

Properties

data?: string

The document content.

mime_type?: "application/pdf"

The mime type of the document.

type: "document"
uri?: string

The URI of the document.