get_last_status
Retrieve the most recent status messages from a Claude agent's log file by specifying the number of entries and an optional starting line number to avoid duplicates.
Instructions
Return the last count status messages the agent emitted.
Status messages are the visible text blocks of assistant lines. Every assistant line carrying at least one text block counts as one entry and all of its text blocks are returned. Entries are ordered oldest first and tagged with their raw line number.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to the agent's .jsonl log file. | |
| count | Yes | Number of qualifying log lines to return, counted after filtering. | |
| after_line | No | Only lines with a number strictly greater than this are considered. Pass the highest `line` you already received to suppress repeats, 0 means all. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entries | Yes |