tabularia_set_chapter_opening
Set the default way a Book's Chapters open — where each starts, the label, number and title lines, whether the header and footer show on its first page, the drop cap its first paragraph takes, and the Book's color. Only the fields you give change. target "kinds" sets the design its Prologue, Introduction and Epilogue share instead. resetOwnOpenings makes Chapters with a design of their own follow the Book's again. Read tabularia_read_book_settings first. A Snapshot is kept before the change. Send a requestId you make up for this one change, and send the same requestId if you retry it after an error or a lost answer: a retry with it answers with the first result and does not write again. A new change needs a new requestId, even when its wording is the same.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "tabularia_set_chapter_opening"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bookId | No | Which Book, by its id from tabularia_project_metadata. Leave it out when the Manuscript has one Book. | |
| target | No | Which design: the Chapters’ (the default) or their kinds’. | |
| dropCap | No | The drop cap opening paragraphs take: {"heightPx": at least 48, "treatmentId": a drop cap from tabularia_list_decorations}. Left out, the treatment is the plain initial. | |
| project | No | Which open Project to use, by title, id, or the Studio address the Writer sees (a tabularia.app/studio/ URL or its six-character code — the Writer’s tab URL is enough; there is no need to look at the page). Omit it when only one Project is open in Studio. | |
| elements | No | The lines an opening sets, top to bottom: {"id","kind":"label","text":"Chapter"}, {"id","kind":"number","format":"arabic|roman-upper|roman-lower|words-title|words-upper"}, {"id","kind":"title"}. Give the whole list. | |
| requestId | No | Optional. Your own name for this one change, 1–80 letters, digits, underscores, or hyphens. Reuse it only to retry the same change with the same input. | |
| pagePolicy | No | Where a Chapter starts: a new page, a right-hand page, a page of its own, or in the flow. | |
| accentColor | No | The Book’s color, as #rrggbb, which every decoration inked in Book color takes. | |
| removeDropCap | No | Opening paragraphs take no drop cap. | |
| resetOwnOpenings | No | Chapters with a design of their own follow the Book’s again. | |
| suppressRunningFooter | No | Leave the footer off a Chapter’s first page. | |
| suppressRunningHeader | No | Leave the header off a Chapter’s first page. |