Add attachment
add_attachmentAttaches a link (url) or a file (contentBase64 + filename) to a task. Files follow the board owner's plan: 5 MB each and 100 MB per board on Free, 25 MB and 2 GB on Pro. Photos are optimized, as in the app.
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": {
"cardId": "<cardId>"
},
"name": "add_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | An http(s) link. | |
| name | No | The link's or file's name. | |
| cardId | Yes | ||
| filename | No | For a file: its name with extension. | |
| mimeType | No | ||
| contentBase64 | No | For a file: its bytes, base64-encoded. |