Read Region
read_regionExtract text from a specific rectangular area of the terminal buffer using coordinates and dimensions.
Instructions
Read a rectangular region of the terminal buffer as text.
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": {
"sessionId": "<sessionId>",
"row": "<row>",
"col": "<col>",
"width": "<width>",
"height": "<height>"
},
"name": "read_region"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | Session ID | |
| row | Yes | Starting row (0-based) | |
| col | Yes | Starting column (0-based) | |
| width | Yes | Width in columns | |
| height | Yes | Height in rows |