set_metadata
Replace a book's metadata fields (title, authors, tags, cover, etc.) with new values in one operation.
Instructions
Sets (REPLACES) a book's metadata. 'fields' is an object of field:value pairs. Fields: title, title_sort, authors (multiple with ' & '), author_sort ('Last, First'), tags (comma-separated), series, series_index, publisher, pubdate ('2020-01-01'), languages ('eng'/'spa'), rating (0–10, where 10 = 5 stars), comments (HTML allowed), identifiers ('isbn:9788491050000'), cover (path to an image). NOTE: it replaces the whole field value; to keep the other tags use add_tags/remove_tags.
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>",
"fields": "<fields>"
},
"name": "set_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| book_id | Yes | The book's id. | |
| fields | Yes | Object with field:value pairs to set. |