crosspad_stats
Read runtime state from a running PC simulator—pad status, capabilities, heap, apps, active pad logic, or top-bar UI details—to inspect and debug CrossPad behavior.
Instructions
[PC sim] Read runtime state from the running PC simulator: pad state, capabilities, heap, apps and active pad logic (view='stats', default), or the top bar (view='top_bar'). view='top_bar' reports which of the transport/status bars is the page, the row's scroll, the drawer, where the encoder's focus is and the last screen-wide swipe; the read-back for crosspad_input action=drag.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "crosspad_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | Simulator control port (default: CROSSPAD_REMOTE_PORT of this server, else 19840). Needed to address a second instance. | |
| view | No | Which state to read. | stats |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| docs | No | ||
| next | No | ||
| error | No | ||
| stats | No | ||
| notice | No | ||
| success | Yes |