opencode_list_runs
List all recent agent runs with their status and exit codes.
Instructions
List all recent agent runs with their status and exit codes.
Return Format
{"success": bool, "message": str, "data": {"runs": [{"job_id": str, "status": str, "exit_code": int}]}}
Examples
opencode_list_runs(limit=20)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "opencode_list_runs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max jobs to return |