create_notebook
Create editable Xournal++ notebooks with custom page sizes, named layers, text, shapes, and polygons in a configured folder while preserving existing .xopp files.
Instructions
Create an editable Xournal++ notebook in a configured folder. Set page dimensions in points. Build named layers using text blocks, geometric primitives and filled polygons. New files use the requested .xopp filename. Existing files are preserved.
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": {
"filename": "<filename>",
"title": "<title>",
"pages": "<pages>"
},
"name": "create_notebook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | No | ||
| pages | Yes | ||
| title | Yes | ||
| filename | Yes |