page_setup
Set page margins and background color for Writer documents. Adjust left, right, bottom, and top margins in centimeters, or change the page background using a hex color.
Instructions
Set page margins (cm) and/or page background color (hex) for a Writer
doc. margin sets left/right/bottom; top overrides the top margin
(raise it to clear a header band).
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>"
},
"name": "page_setup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | ||
| color | No | ||
| doc_id | Yes | ||
| margin | No |