replan
Reorganize a plan after a failed step: move the failed step to the end as avoided, preserve successful alternatives, and record the replanning decision.
Instructions
Re-plan after a failed step: move the failing person's step to the end (avoided), keep successful alternatives, and store the re-planning decision.
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": {
"goal": "<goal>",
"failed_step": "<failed_step>"
},
"name": "replan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | Yes | ||
| top_k | No | ||
| failed_step | Yes |