create_from_starter
Generate a new template from a pre-selected starter layout like an invoice or quotation. Adjust its design using specific styles, themes, and fonts.
Instructions
Create a template from a starter layout (same as Studio's New
template dialog). style picks the look (default classic): folder =
light band with a folder tab, wave = dark wave header, diagonal =
dark band with a slanted edge, sidebar = coloured column, bigtotal =
the amount to pay set large. Every colour is a theme reference, so
update_template(layout_set={"theme": {...}}) rebrands it. theme
picks a palette and fonts at creation: a palette key ("ocean"), or
{"palette": "ocean", "fonts": "editorial", } (list_starters
lists presets.palettes and presets.fonts). Classic
reuses the shared 'Company header'/'Company footer' parts (created on
first use); the bold styles draw their own letterhead. model is
only for the blank starter.
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": {
"starter": "<starter>",
"name": "<name>"
},
"name": "create_from_starter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| model | No | ||
| style | No | ||
| theme | No | ||
| footer | No | ||
| header | No | ||
| starter | Yes | ||
| date_format | No |