uploadAttachment
Attach a file to a Taiga issue, user story, or task by providing the item type, ID, and file path or base64 data.
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": {
"itemType": "<itemType>",
"itemId": "<itemId>"
},
"name": "uploadAttachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| itemType | Yes | Type of item to attach file to | |
| itemId | Yes | ID of the item to attach file to | |
| projectIdentifier | No | Project ID or slug (required for issues) | |
| filePath | No | File path - supports absolute paths, relative paths, or just filename (will search common locations) | |
| fileData | No | Base64 encoded file data (for programmatic use) | |
| fileName | No | Original file name (required with fileData) | |
| mimeType | No | MIME type of the file (auto-detected if not provided) | |
| description | No | Optional description for the attachment |