layout
Configure document typesetting and layout by setting columns, fonts, margins, headers, footers, table of contents, line spacing, and section breaks. Only specified parameters are changed; others remain unchanged.
Instructions
Configure document typesetting and layout.
Only provided parameters are changed; others are left as-is.
section_break: Page break before level-1 sections. "before" inserts \clearpage before each \section. Works in any column mode. Individual sections can override via edit(page_break="before").
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": "layout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| columns | No | ||
| font | No | ||
| font_sans | No | ||
| font_mono | No | ||
| font_size | No | ||
| paper | No | ||
| margins | No | ||
| header_left | No | ||
| header_center | No | ||
| header_right | No | ||
| footer_left | No | ||
| footer_center | No | ||
| footer_right | No | ||
| toc | No | ||
| lof | No | ||
| lot | No | ||
| line_spacing | No | ||
| section_break | No | ||
| style | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |