add_page_box
Add a colored box, header band, or pull-quote callout anchored to a page in a LibreOffice document. Use x/y/w/h percentages to position and size it, with optional text styling.
Instructions
Place a page-anchored box (a colored band, header, or pull-quote
callout). x/y/w/h are percent (0-100) of the PAGE; fill is the box color
(hex, or null for transparent); optional text is styled with
color/size/bold/align. Great for letterheads and report headers.
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": {
"doc_id": "<doc_id>",
"x": "<x>",
"y": "<y>",
"w": "<w>",
"h": "<h>"
},
"name": "add_page_box"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| h | Yes | ||
| w | Yes | ||
| x | Yes | ||
| y | Yes | ||
| pad | No | ||
| bold | No | ||
| fill | No | ||
| font | No | ||
| size | No | ||
| text | No | ||
| align | No | left | |
| color | No | #ffffff | |
| doc_id | Yes |