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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | Yes | ||
| top_k | No | ||
| failed_step | Yes |