End Detour
end_detourEnd an open Detour: merge back if complete, return to plan with new tasks, or recalibrate by replacing tasks.
Instructions
End the open Detour. 'merge back': it was small and is done; the plan is unchanged. 'return': go back to the plan, appending tasks for the Detour's intended work if any. 'recalibrate': drop every remaining Task and replace them with tasks.
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": {
"ending": "<ending>"
},
"name": "end_detour"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tasks | No | Tasks to append (return) or the new Task list (recalibrate). | |
| ending | Yes |