get_failure
Retrieve the traceback and code for a failed forecast run or failed comparison candidate so you can diagnose errors and inspect what broke.
Instructions
Return the traceback and the code of a failed run (the details.failure_id of an error) or of a failed candidate of a comparison. The id of an object that did not fail is invalid_argument; for the script of a run that worked, use get_code.
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": {
"object_id": "<object_id>"
},
"name": "get_failure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| candidate | No | Name of the failed candidate, required with the id of a comparison; null with a `failure_id`. | |
| object_id | Yes | `details.failure_id` of an error, or the id of a comparison whose candidate failed. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| text | Yes | ||
| files | No | ||
| candidate | No | ||
| text_truncated | No |