upload_attachment
Upload a file to get a temporary token for attaching it to Zendesk tickets, ticket updates, or comments; tokens expire after 60 minutes.
Instructions
Upload a file and get a token. Attach it by passing the token in upload_tokens of create_ticket,
update_ticket or add_ticket_comment. Tokens expire after 60 minutes.
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": {
"filename": "<filename>"
},
"name": "upload_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Plain-text file content. | |
| token | No | Existing upload token to add this file to (multi-file). | |
| filename | Yes | ||
| file_path | No | Local file (must be inside ZENDESK_FILE_ROOT). | |
| content_type | No | ||
| content_base64 | No |