open_tree
Load a .ltp3 project or .ltp3t template into memory and return a tree_id for other tools without modifying the file on disk; use read_only to block edits.
Instructions
Open a .ltp3 project or .ltp3t template into memory and return a tree_id used by
every other tool. The file on disk is never modified by editing; only save_tree writes.
Templates may be edited in memory but can never be saved over their own path. With
read_only=true all editing tools fail with READ_ONLY. Returns the file format version,
the SHA-256 of the bytes read (used to detect that the GUI changed the file later), and
the tabs (each tab is one independent power tree) with part and wire counts.
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": {
"path": "<path>"
},
"name": "open_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| read_only | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||