martin_get_run
Load a Martin run to get its budget, cost, verification, artifact, and canonical path for auditing AI agent work and preventing runaway loops.
Instructions
Load one Martin run and return its budget, cost, verification, artifact, and canonical path summary.
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": "martin_get_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Path to a canonical loop-record.json, legacy file, or run-store directory. | |
| latest | No | When true, loads the most recently updated loop record in the run store. | |
| loopId | No | Loop ID under the run store. | |
| runsDir | No | Optional runs-root override. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cost | Yes | ||
| loop | Yes | ||
| budget | Yes | ||
| source | Yes | ||
| warnings | Yes | ||
| artifacts | Yes | ||
| inspection | Yes | ||
| sourceKind | Yes | ||
| verification | Yes |