End Detour
end_detourClose an open detour by merging it back, returning to the plan with appended tasks, or recalibrating the remaining task list to keep the shared goal record current.
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 |
|---|---|---|---|
| goal | No | The claimed Goal's ID, such as 'ship-oauth-login'. Needed only when this Session holds several Goals. | |
| tasks | No | Tasks to append (return) or the new Task list (recalibrate). | |
| ending | Yes |