add_task_attachment
Attach a file to a task by uploading a local file or providing a pre-hosted URL.
Instructions
Attach a file to a task. Provide either a local file_path (uploaded to Votel storage) or a pre-hosted url. Example: 'Attach /tmp/proposal.pdf to task '.
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": {
"task_id": "<task_id>"
},
"name": "add_task_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Pre-hosted URL (skips upload) | |
| name | No | Display name (defaults to filename or URL basename) | |
| task_id | Yes | Task UUID | |
| file_path | No | Absolute local file path to upload |