quire.uploadTaskAttachment
Attach a file to a Quire task by supplying the task OID, filename, and content as a string. Optionally specify the MIME type.
Instructions
Upload a file attachment to a task. The content should be provided as a string (e.g., text content or base64-encoded binary).
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": {
"taskOid": "<taskOid>",
"filename": "<filename>",
"content": "<content>"
},
"name": "quire.uploadTaskAttachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskOid | Yes | The task OID (unique identifier) to attach the file to | |
| filename | Yes | The filename for the attachment (e.g., 'document.txt') | |
| content | Yes | The file content as a string | |
| mimeType | No | The MIME type of the file (e.g., 'text/plain', 'application/pdf'). Defaults to 'application/octet-stream' |