add_attachment
Upload a file from an absolute path as an attachment to a ClickUp task, with an optional filename override.
Instructions
Upload a file attachment to a task.
Args: task_id: The task ID. file_path: Absolute path to the file to upload. filename: Optional override for the uploaded filename.
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>",
"file_path": "<file_path>"
},
"name": "add_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | ||
| filename | No | ||
| file_path | Yes |