forensics
Collect failure data and replay failed agent runs to analyze outcomes and document learnings.
Instructions
Failure dataset & replays — close the learning loop on failed agent runs.
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": {
"action": "<action>"
},
"name": "forensics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | No | For action=reflect: agent name (e.g. executor) | |
| action | Yes | ||
| dryRun | No | For action=reflect: only save the assembled prompt, no API call | |
| outcome | No | For action=annotate-replay | |
| payload | No | For action=record-replay: the Task() payload to store. | |
| replayId | No | ||
| projectRoot | No |