quire.uploadCommentAttachment
Upload file attachments to comments by providing the comment ID, filename, and content as a string. Supports text or base64-encoded binary content.
Instructions
Upload a file attachment to a comment. 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": {
"commentOid": "<commentOid>",
"filename": "<filename>",
"content": "<content>"
},
"name": "quire.uploadCommentAttachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commentOid | Yes | The comment 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' |