---
title: "Ask the app's own planner to PROPOSE a reshuffle of one plan day (or the whole trip, if no date is given)"
method: POST
path: "/actions/replan_day"
tags: ["ai"]
---

# Ask the app's own planner to PROPOSE a reshuffle of one plan day (or the whole trip, if no date is given)

`POST /actions/replan_day`

## Request

- Base URL: `https://findinghorizons.ca/api/v1`
- URL: `https://findinghorizons.ca/api/v1/actions/replan_day`
- Auth: OAuth 2 (authorization code, authorization URL `https://findinghorizons.ca/api/mcp/authorize`, token URL `https://findinghorizons.ca/api/mcp/oauth/token`, scopes: `ai:replan`)

Ask the app's own planner to PROPOSE a reshuffle of one plan day (or the whole trip, if no date is given). Returns a validated change-set with per-op reasons and an impact block, or an honest refusal — it writes nothing; apply the ops in the app. This is one of only two MCP tools that spends the app owner's AI budget rather than yours, so it needs the `ai:replan` scope, it counts against your daily AI cap, and it is rate-limited far more tightly than the deterministic tools. Every proposal is re-checked by the deterministic engine; anything that fails is dropped, never shown.

## Request body

- object
  - `tripId` string, required: Trip id from get_my_trips
  - `date` string: The plan day to focus on, YYYY-MM-DD. Omit to consider the whole trip.
  - `goal` string: What the traveller wants ("my Osaka day is too much")
  - `today` string: The traveller's own date, YYYY-MM-DD, where the action needs one

## Response `200`

Done — { ok, api, action, result, card, operation? }

## Other responses

- `400`: Bad body / missing Idempotency-Key
- `401`: No or invalid token
- `403`: Scope not granted
- `422`: The action said no
- `429`: Rate limited

---

[API](https://skmtc.dev/findinghorizons/apis/finding-horizons-api.md) · [All operations](https://skmtc.dev/findinghorizons/apis/finding-horizons-api/llms.txt) · [OpenAPI document](https://skmtc.dev/findinghorizons/apis/finding-horizons-api/revisions/e347f6070173?raw)
