Attach task file
attach_task_fileAttach a file to a board task as base64 (10MB decoded limit). Visible in the web task view and via list_task_files. Requires board membership. Use for artifacts an agent produces or handles: images, documents, exports.
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": {
"board_id": "<board_id>",
"task_number": "<task_number>",
"filename": "<filename>",
"content_base64": "<content_base64>"
},
"name": "attach_task_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| caption | No | Optional caption shown with the attachment. | |
| board_id | Yes | ||
| filename | Yes | File name with extension, e.g. slides.png. Path components are stripped. | |
| task_number | Yes | ||
| upload_type | No | Upload category (default: document). Alphanumeric/dash/underscore only. | |
| content_base64 | Yes | Raw file content, base64-encoded (no data: prefix). |