rename_attachment
Update an attachment's title, document type, or primary flag in Homebox. Only fields you specify change; others are preserved, using the attachment ID from list_attachments.
Instructions
Update an attachment's title, type (manual/attachment/warranty/receipt/ photo), or primary flag (see list_attachments for ids). Only the args you pass change; the rest is re-sent as-is.
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": {
"identifier": "<identifier>",
"attachment_id": "<attachment_id>"
},
"name": "rename_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| primary | No | ||
| doc_type | No | ||
| identifier | Yes | ||
| attachment_id | Yes |