faostat_list_domains
List FAOSTAT domains and datasets with groups and release dates to identify what data to retrieve; filter by search text, portal section, or language.
Instructions
List FAOSTAT's domains, the datasets get_data reads, with their groups and release dates.
One request to groupsanddomains, cached for five minutes. Each row is a domain
(domain_level 2 or 3) or a subgroup of domains (domain_level 1,
subgroup_flag "1", no dates), with its group, its last update, a date
(date_update, 2025-12-31), its current and next release as printed
(release_current, release_next) and its contact. A section of the portal
lists other rows: browse leaves the subgroups out, and compare some
datasets too.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "faostat_list_domains"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language of the names: ``"en"`` (the default), ``"fr"`` or ``"es"``. | en |
| offset | No | Rows of the answer already shown, to skip: the note of a cut answer names the next offset. 0, the default, starts at the first row. | |
| search | No | Text to look for, ignoring case, in a row's ``domain_code``, ``domain_name`` or ``group_name``, e.g. ``"QCL"``, ``"crops"`` or ``"prices"``; ``None`` lists every row. | |
| section | No | The portal's section the list serves: ``"download"``, every domain and subgroup, as ``None`` lists them, ``"browse"`` or ``"compare"``. |