get_citation
How to cite a variable's data: the citation text, licence and DOI from its data passport, and -- for a selection (stations, a time window, a box) -- every data object it came from, in full. Data answers carry a short citation and only the COUNT of their sources; this lists them.
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": {
"id": "<id>"
},
"name": "get_citation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | a variable id from search_variables | |
| end | No | ISO date or datetime, EXCLUSIVE | |
| start | No | ISO date or datetime, inclusive (2025-01-01) | |
| lat_max | No | northern edge of a bounding box, degrees north | |
| lat_min | No | southern edge of a bounding box, degrees north | |
| lon_max | No | eastern edge of a bounding box, degrees east | |
| lon_min | No | western edge of a bounding box, degrees east | |
| station | No | station ids -- a list, or one id (or several, comma-separated) as a string; CASE-SENSITIVE: HTM150 (trigram + sampling height) for atmosphere, SE-Htm for FLUXNET sites |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doi | No | ||
| license | No | ||
| sources | No | the citation of each data object the selection came from -- what to cite when there is no collection citation (near-real-time data) | |
| citation | No | ||
| n_sources | No | how many data objects the selection came from; in a data answer their citations are listed only when there are three or fewer -- get_citation (with the same stations) lists them all | |
| license_url | No | ||
| selection_id | No | stable id of this exact selection over this exact store version | |
| store_version | No |