asana_attach_file
Attach a local file to an Asana task after confirming the file path. Safely restricts reads to allowed directories and supports files up to 100MB.
Instructions
Attach a local file to an Asana task. Requires confirm:true and restricts reads to the current directory or ASANA_MCP_FILE_ROOTS. Max 100MB.
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_gid": "<task_gid>",
"file_path": "<file_path>"
},
"name": "asana_attach_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Must be true after reviewing file_path to read and upload the local file | |
| task_gid | Yes | Task GID to attach file to | |
| file_name | No | Optional display name (defaults to filename from path) | |
| file_path | Yes | File path. It must resolve inside the current directory or an ASANA_MCP_FILE_ROOTS entry. |