Get reference data
wave_get_referenceRetrieve reference data such as currencies, countries, provinces, account types, and account subtypes to fill inputs for other Wave tools. Supports pagination and search.
Instructions
Reference data needed to fill other tools' inputs: currencies, countries, one country with its provinces/states (kind=country, code=CA), a province by code, account types, and account subtypes (needed by wave_create_account). Lists are paginated.
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": {
"kind": "<kind>"
},
"name": "wave_get_reference"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Required for kind=country (e.g. CA) and kind=province (e.g. CA-ON) | |
| kind | Yes | ||
| page | No | 1-based; use nextPage | |
| search | No | Case-insensitive filter on code or name | |
| pageSize | No | Items per page (max 250) |