task_attachment_add
Store an approved base64-encoded file as a task attachment while enforcing the existing 25 MB per-file limit.
Instructions
Store an approved base64-encoded attachment in the task database. The existing 25 MB per-file limit is enforced.
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": {
"taskId": "<taskId>",
"fileName": "<fileName>",
"base64Data": "<base64Data>"
},
"name": "task_attachment_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskId | Yes | Numeric task ID. | |
| fileName | Yes | Safe file name without a path. | |
| base64Data | Yes | Base64-encoded file bytes. | |
| contentType | No | Optional MIME content type. | |
| description | No | Optional attachment description. |