generate_layout_yaml
Generate and save a dashboard layout YAML file.
Instructions
Generate and save a dashboard layout YAML file.
Recommended workflow:
Call list_worksheets to get available worksheet names
Design the layout with the user (show ASCII preview for confirmation)
Call this tool to save the layout as a YAML file
Call add_dashboard with layout=<this_file_path>
The layout_tree uses the same declarative container DSL as generate_layout_json.
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": {
"output_path": "<output_path>",
"layout_tree": "<layout_tree>",
"ascii_preview": "<ascii_preview>"
},
"name": "generate_layout_yaml"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layout_tree | Yes | ||
| output_path | Yes | ||
| ascii_preview | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |