Suggest alternative stops for a plan
suggest_swapsUse this when the user wants to change, replace, or see alternatives for one stop in a plan that plan_day already produced — e.g. "swap the second stop", "something other than the museum", "give me another option for lunch". Call plan_day first if no plan exists yet.
Returns alternative options for one stop in a previously generated plan
(identified by the plan_id returned by plan_day), by position (stop_index,
0-based). Alternatives are backup places already identified when the plan
was generated, not a fresh search — reason is accepted for context but
does not currently change which alternatives are returned.
Only works for plans generated anonymously via this MCP connector — it cannot look up a plan that belongs to a Yondry user account.
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": {
"plan_id": "<plan_id>",
"stop_index": "<stop_index>"
},
"name": "suggest_swaps"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | ||
| plan_id | Yes | ||
| stop_index | Yes |