prime_update_attachment
Update attachment metadata such as title, description, notes, and type; provide the current version to prevent write conflicts via optimistic locking.
Instructions
Update attachment metadata. Requires version for optimistic locking.
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>",
"version": "<version>"
},
"name": "prime_update_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | ||
| title | No | ||
| version | Yes | Current version for optimistic locking | |
| description | No | ||
| attachment_id | Yes | The attachment ID to update | |
| attachment_type_id | No |