pty_read
Read new terminal output from a PTY session, or retrieve all buffered output with all: true. ANSI escape codes are stripped by default.
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 |