update_metadata
Change specific metadata fields on a single book, such as title, authors, tags, or series, while preserving untouched fields. Merge or replace list values and get before/after values for verification.
Instructions
Change metadata fields on one book. Only the fields in changes are touched.
changes: any of title, subtitle, publisher, publishedDate (YYYY-MM-DD), description, seriesName, seriesNumber, seriesTotal, isbn13, isbn10, pageCount, language, narrator, authors, categories (= genres), moods, tags (lists of strings). merge_lists: True adds list values to what is there; False replaces the list. Locked fields are refused. Nothing can be cleared with this tool. Returns the before/after values of the changed fields.
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": {
"book_id": "<book_id>",
"changes": "<changes>"
},
"name": "update_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| book_id | Yes | ||
| changes | Yes | ||
| merge_lists | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||