live

Map a traveller's free-text request ("we're exhausted", "il pleut", "電車を逃した") onto ONE of the eight replan intents and r

Map a traveller's free-text request ("we're exhausted", "il pleut", "電車を逃した") onto ONE of the eight replan intents and return the resulting plan delta for the remaining live day. Deterministic keyword mapping across ten languages — no AI, no spend, writes nothing. If it returns matched=false (didn't understand, or heard TWO intents at once), choose the intent yourself and call replan_with_intent. missed_transport still needs delayMinutes.

post/actions/replan_from_text

Request

  • Base URL: https://findinghorizons.ca/api/v1
  • URL: https://findinghorizons.ca/api/v1/actions/replan_from_text
  • Auth: OAuth 2 (authorization code, authorization URL https://findinghorizons.ca/api/mcp/authorize, token URL https://findinghorizons.ca/api/mcp/oauth/token, scopes: trips:read)

Request body

tripIdstring required

Trip id from get_my_trips

textstring required

The traveller's words, any of the ten app languages.

nowMsnumber required

Epoch ms of the traveller's NOW.

delayMinutesnumber

Used when the text maps to missed_transport.

todaystring

The traveller's own date, YYYY-MM-DD, where the action needs one

Response

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

Changes

No recorded changes to this operation across all 1 revision of this API.