generate_heart_route
Start a new heart-shaped route for a given city. Returns existing AI-validated matches from inventory PLUS a deep-link to the live builder for an on-demand fresh generation with the user's exact dedication and cause. Use when the user explicitly wants a NEW heart, or when an existing match is "close enough but not personal yet". Optional dedication / cause_url pre-fill the builder fields, so the URL deep-link arrives configured.
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": {
"city": "<city>"
},
"name": "generate_heart_route"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | Yes | City name, e.g. "Paris", "Tokyo". | |
| cause_url | No | Optional JustGiving / GoFundMe / Leetchi URL to embed in the GPX metadata. CityHeart never touches the money — the link is for the runner's Strava description to surface to donors. | |
| in_memory | No | If true, the dedication is framed as a memorial ("In memory of [name]"). Default false. | |
| dedication | No | Optional person/cause name to bake into the heart (appears in the GPX, on Garmin Connect, and as the Strava activity title prefix). | |
| distance_km | No | Target route length in km (3–25). Default 7. |