upload_attachment
Upload evidence (receipt, contract original, picture) — base64 bytes, 10 MB max, deduplicated by content; returns the attachment id to link from a document.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"filename": "<filename>",
"content_type": "<content_type>",
"content_base64": "<content_base64>"
},
"name": "upload_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | ||
| content_type | Yes | ||
| content_base64 | Yes |