Generate fixed-layout EPUB code
generate_fixed_layout_codeGenerates EPUB 3 fixed-layout (pre-paginated) package metadata, the XHTML viewport tag and page CSS for a page size in pixels.
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": {
"width": "<width>",
"height": "<height>"
},
"name": "generate_fixed_layout_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | Yes | Page width in CSS pixels, e.g. 1200 | |
| height | Yes | Page height in CSS pixels, e.g. 1600 | |
| spread | No | auto | |
| orientation | No | auto |