regions
List recent session commands and program inputs with status, exit code, line range, and file; find IDs for read/search, check running tasks, or review agent/human activity.
Instructions
List the most recent regions: each command or program input with its
status (running, done, waiting at a question, ...), exit status, line
range and file. The session's history at a glance: to find a region id
for read/search, to check on a command left running without waiting
for it, or to see what a human or another agent ran.
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": {
"session": "<session>"
},
"name": "regions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| last | No | how many of the most recent regions to list | |
| session | Yes | the session's name (from session_create or session_list) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |