getPayeeLocationsByPayee
Retrieve all payee locations for a specific payee to track transaction sources. Supply plan ID and payee ID to get the complete list of associated locations.
Instructions
Returns all payee locations for a specified payee
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>",
"payee_id": "<payee_id>"
},
"name": "getPayeeLocationsByPayee"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan_id | Yes | The id of the plan. "last-used" can be used to specify the last used plan and "default" can be used if default plan selection is enabled (see: https://api.ynab.com/#oauth-default-plan). | |
| payee_id | Yes | id of payee |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes |