Update Attachment
update_attachmentEdit an attachment's metadata by attachment_id: rename it, change its type, edit its description, or toggle "shown on activity report". Does not replace the file itself. Enforces participation on the parent record. Cannot delete anything.
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": {
"attachment_id": "<attachment_id>"
},
"name": "update_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | No | Rename the attachment / relabel the link. | |
| description | No | Change the description note. | |
| attachment_id | Yes | The attachmentid (a GUID string) from list_attachments. | |
| attachment_type | No | Change the document type/category (e.g. "LOI"). Created for your company if new. | |
| shown_on_report | No | Toggle whether this attachment appears on the activity report. |