faostat_get_codes
Retrieve FAOSTAT domain filter codes for a given dimension and domain, returning all codes when limit is zero. Use for filter-code lookups, not named searches.
Instructions
Browse domain FILTER codes. Prefer faostat_search_codes for named lookups. Element filter codes differ from display codes (QCL: Production filter 2510, display 5510). limit=0 returns all codes.
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": {
"dimension_id": "<dimension_id>",
"domain_code": "<domain_code>"
},
"name": "faostat_get_codes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | en | |
| limit | No | ||
| domain_code | Yes | ||
| dimension_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |