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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| book_id | Yes | The book's id. | |
| fields | Yes | Object with field:value pairs to set. |