submode_state
Inspect a mode-tree branch to retrieve sub-mode enable state and available sub-modes for a project, IP, and mode path, matching the peripheral diagram data.
Instructions
Inspect a mode-tree branch: sub-mode enable state and available sub-modes (get sub-mode-state / get sub-modes), the same data the peripheral diagram uses.
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": {
"project_id": "<project_id>",
"ip": "<ip>",
"path": "<path>"
},
"name": "submode_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | IP name | |
| path | Yes | Comma separated mode path, e.g. "mode,submode1" | |
| project_id | Yes | Project id |