Plecs Get Model Tree
plecs_get_model_treeRetrieve a PLECS model's full tree or a summarized view of counts, subsystems, and components from an absolute model path for inspection and analysis.
Instructions
Return the model tree (needs an absolute path; PLECS returns base64 JSON).
summary=True drops connections and returns counts plus analysis/subsystem/component names.
decode=False returns {"result": "<base64>"} unchanged.
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": {
"model_path": "<model_path>"
},
"name": "plecs_get_model_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| decode | No | ||
| summary | No | ||
| model_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||