tabularia_arrange_drop_cap
Give a paragraph a drop cap, or resize, repad or restyle the one it has. A drop cap is the opening letter of its paragraph, so the paragraph has to begin with a letter. A lettered set draws that letter; name letter too to set one of the set's drawings whatever the paragraph opens with. It stands at least 48 pixels tall; padding runs from −48 to 48 on each side. Anything you leave out stays as it is. It goes where tabularia_propose_edit would send an edit — your own Draft unless you name another, or the Base Draft when you name it, after a Snapshot — and the answer says which. In a Draft it is a difference of its own the Writer merges like any other — "Drop cap added", "Ornament narrower" — so tell them where to find it. 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
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": {
"blockId": "<blockId>"
},
"name": "tabularia_arrange_drop_cap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| letter | No | With a lettered set as treatmentId, the one drawing of that set to set here whatever letter the paragraph opens with, such as "Q" for a historical initial. Leave it out to let the set draw the paragraph’s own letter. | |
| target | No | Where the change goes, as for tabularia_propose_edit: "draft" is your own Draft, "new-draft" starts a fresh one, and "base" makes it in the Base Draft itself, after a Snapshot. Left out, it goes to your own Draft. Use "base" only when the Writer asked for the change in their text. | |
| blockId | Yes | The paragraph the drop cap opens, by id from a window read or tabularia_list_decorations. | |
| draftId | No | Make the change in this Draft, from tabularia_list_drafts. It settles where the change goes; leave target out. | |
| 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. | |
| variant | No | With letter, which second drawing of that letter, such as "leafy". | |
| heightPx | No | How tall the letter stands, in whole pixels, at least 48. A new one is 72. | |
| draftName | No | What to call the Draft when target is "new-draft". | |
| 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. | |
| treatmentId | No | The treatmentId of a drop cap tabularia_list_decorations lists, to match it, or one of the Project’s own: a frame (custom.drop-cap.…), a lettered set (custom.drop-cap.set:…), which draws the letter each paragraph opens with and typesets any letter it lacks, or one drawn letter (custom.drop-cap.letter:…), set as it is. Left out, a new drop cap is the plain initial and an existing one keeps its own. | |
| paddingTopPx | No | Padding on its top side, in whole pixels from −48 to 48. Below zero pulls the wrapped text in over the frame. | |
| paddingLeftPx | No | Padding on its left side, in whole pixels from −48 to 48. Below zero pulls the wrapped text in over the frame. | |
| paddingRightPx | No | Padding on its right side, in whole pixels from −48 to 48. Below zero pulls the wrapped text in over the frame. | |
| paddingBottomPx | No | Padding on its bottom side, in whole pixels from −48 to 48. Below zero pulls the wrapped text in over the frame. |