Run Logs
get_run_logsRead the tail of a failed backtest job's private logs to diagnose why it stopped. Bounded to 25KB with paths redacted for safe troubleshooting.
Instructions
Read bounded tails of a job's private log files.
Use after a FAILED/TIMED_OUT/ORPHANED job to diagnose the cause before
changing the strategy. tail_bytes is capped at 25000; absolute paths in
log content are redacted.
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": "get_run_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | ||
| tail_bytes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||