pty_read
Read new output from a PTY session to monitor running commands or retrieve all buffered terminal text by setting all to true. ANSI escapes are stripped unless raw is enabled.
Instructions
Read new terminal output from a PTY session (or all buffered output with all: true). ANSI escapes are stripped by default.
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": {
"id": "<id>"
},
"name": "pty_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| all | No | ||
| raw | No | ||
| maxChars | No |