invariance_run_fail
Mark an agent run as failed and store the error details when it aborts due to an exception or unrecoverable issue.
Instructions
Close a run with failure — sets status to "failed" and stores the optional error string in metadata.error. Use this when the agent aborted due to an exception or unrecoverable error. For successful completion, use invariance_run_finish.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| error | No | Short error description, stored at metadata.error (e.g. exception message). |