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.
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 |