flow_log_tail
View the final lines of a Flow simulation job's combined stdout/stderr log, with optional case-insensitive regex filtering to isolate errors, problems, or solver events from long runs.
Instructions
Return the tail of a Flow job's combined stdout/stderr log.
grep (case-insensitive regex) filters the WHOLE log first and returns
the last lines matching lines with line numbers — e.g.
grep="will be shut|Problem:|Error:" extracts well-shut and solver
events from a long run.
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": {
"job_id": "<job_id>"
},
"name": "flow_log_tail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grep | No | ||
| lines | No | ||
| job_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||