File Handling & Uploads
Savant supports multiple ways to work with files — from inline attachments in messages to the server-side file storage API for large-file multimodal processing.File Upload Methods
Inline File Attachments
Send files directly as A2ADataPart content in your POST /send message, or via the REST API:
Text Files
Binary Files (Base64)
File Storage API
For large files or when you want native multimodal processing:Step 1: Upload the File
Via API:Step 2: Reference in a Message
Artifact Uploads
Artifacts are session-scoped file storage. Agents can access artifacts using theread_artifact tool.
Upload
Response
Supported Artifact Types
How Files Reach the Agent
When files are included in a message, they become Content Parts in the agent conversation:
The foundation model processes images and PDFs natively — no OCR or extraction tools are needed for basic understanding.
