program_query
Check if a program needs a PTY by querying the persistent program registry. Use before process_start to decide on PTY allocation; a miss indicates standard rules apply.
Instructions
Look up whether a program needs a PTY in the persistent program registry. Call BEFORE process_start. A miss is a normal result, not an error — it means apply the decision rules in the instructions. confirmed_count >= 2 means settled; a single confirmation is a hint — re-verify on first use.
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": {
"program": "<program>"
},
"name": "program_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| program | Yes | Executable name, e.g. 'ssh'. |