DeleteAttachmentTool
Delete a file attached to a task/story/piece. Allowed to whoever may edit the piece. Files on messages cannot be deleted.
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": {
"account_code": "<account_code>",
"piece_relative_id": "<piece_relative_id>",
"attachment_id": "<attachment_id>"
},
"name": "DeleteAttachmentTool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_code | Yes | Account code (e.g., "bcp", "jchsoft") | |
| attachment_id | Yes | ID of the attachment, as returned by AddAttachmentTool and listed on the piece | |
| piece_relative_id | Yes | Relative ID of the piece the attachment belongs to |