program_record
Records whether a program needs a PTY (terminal) based on observed behavior, preventing TTY errors and hangs. Saves first-encounter conclusions with caveats.
Instructions
Record a confirmed program fact in the persistent registry after observing its behavior: needs_pty true if it required a terminal (TTY error, hang in pipe mode, or TUI rendering with pty:true), false if it ran fine without one. Record every first-encounter conclusion, including negatives. notes should carry flag-specific caveats (e.g. 'docker run -it only, not docker build').
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>",
"needs_pty": "<needs_pty>"
},
"name": "program_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | Optional caveats or context. | |
| program | Yes | Executable name. | |
| needs_pty | Yes | Whether the program needs a PTY. |