asana_upload_attachment_for_object
Upload local files as attachments to Asana objects like tasks or projects. Attach documents, images, or other files directly from your device to keep project materials organized.
Instructions
Upload a local file as attachment to an object
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| object_gid | Yes | The object GID to attach the file to | |
| file_path | Yes | Path to the local file | |
| file_name | No | Optional custom file name | |
| file_type | No | Optional MIME type for the uploaded file |
Input Schema (JSON Schema)
{
"properties": {
"file_name": {
"description": "Optional custom file name",
"type": "string"
},
"file_path": {
"description": "Path to the local file",
"type": "string"
},
"file_type": {
"description": "Optional MIME type for the uploaded file",
"type": "string"
},
"object_gid": {
"description": "The object GID to attach the file to",
"type": "string"
}
},
"required": [
"object_gid",
"file_path"
],
"type": "object"
}