tabularia_set_block_style
Change one Block Style — Body Text, Chapter Heading, Block Quote and the rest — for the whole Project or for one Book, the way the Block Styles settings in Tabularia do. Every paragraph set in that style follows at once. Only the fields you give change. Read tabularia_read_book_settings first. From the cloud a Snapshot is kept before the change; with Tabularia open on this computer, take one with tabularia_take_snapshot first. Supply requestId from the first call for safe retries and retain actionId for tabularia_undo_action. Undo restores only unchanged fields this action changed, preserving later unrelated settings. Book override ownership changes require the whole override to remain unchanged. If Studio reports a pending Draft update, no style change was submitted; retry with the same requestId after that update finishes.
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": {
"styleId": "<styleId>"
},
"name": "tabularia_set_block_style"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bookId | No | Set it for this Book alone. Left out, it is the Project’s style, which every Book without its own follows. | |
| 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. | |
| styleId | Yes | Which Block Style. | |
| requestId | No | ||
| textAlign | No | ||
| fontFamily | No | The typeface. | |
| fontSizePx | No | The size, in pixels. | |
| lineHeightPx | No | The line height, in pixels. | |
| marginLeftPx | No | How far its paragraphs stand in from the left of the measure. | |
| followProject | No | With bookId: the Book gives up its own style and follows the Project’s again. | |
| marginRightPx | No | How far its paragraphs stand in from the right of the measure. | |
| letterSpacingEm | No | Letter spacing, in ems. | |
| hyphenationEnabled | No | Whether its paragraphs hyphenate. | |
| paragraphSpacingPx | No | Space between paragraphs. | |
| minimumLastLineWords | No | The fewest words a paragraph’s last line may hold. | |
| paragraphPaddingTopPx | No | Space above each paragraph. | |
| paragraphPaddingBottomPx | No | Space below each paragraph. |