List payee locations
list_payee_locationsRetrieve GPS locations recorded for payees on a YNAB plan, optionally filtered to one payee by ID. Use it to view where payees were captured in the mobile apps.
Instructions
Returns payee locations (GPS coordinates captured from the mobile apps). Not all payees have locations. Scope with payee_id to get only that payee's locations. Covers GET /plans/{plan_id}/payee_locations and GET /plans/{plan_id}/payees/{payee_id}/payee_locations.
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>"
},
"name": "list_payee_locations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan_id | Yes | The id of the plan (formerly "budget"). Use "last-used" for the most recently used plan, or "default" if default plan selection is enabled for this token. | |
| payee_id | No | If given, only locations for this payee are returned. |