Upload attachment
upload_attachmentUpload base64 file bytes as reusable source material; returns id and requires_capability. Pass the ID in attachment_ids to sample/schema generation, enrichment or benchmarks. Supported format handling depends on server MIME policy: extracted text or model-readable binary. Prefer auto model selection for attachment capabilities. Uploading does not itself run an LLM. A generated sample with attachments is source-only; see enricher://docs/documents for formats, multiple-file behavior and research workflows. Retain attachments needed for later runs or regeneration.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | Original filename including extension (e.g. 'report.pdf'). | |
| media_type | No | Optional MIME hint; the server still sniffs the magic bytes. | |
| content_base64 | Yes | The file's bytes, base64-encoded (no data: prefix). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||