get_tree
Read a compact scene tree before editing to inspect element IDs, types, properties, and sizes for a screen or node.
Instructions
Read a compact scene tree before editing. Lines are <id> <type> [prop=value, ...] w=<size> h=<size>; * means annotated. Example: {"screen":"checkout","depth":3}.
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": {
"screen": "<screen>"
},
"name": "get_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | No | Lowercase identifier matching [a-z][a-z0-9_]{0,31} | |
| depth | No | ||
| screen | Yes | Lowercase identifier matching [a-z][a-z0-9_]{0,31} |