Get one number, with its source and date
get_valueOne figure, ready to quote: the value of a field in the newest row (or the last row on or before a date), with the row’s date, the source, when we last read it, the credit line and the page to link. Use where to pick a row, e.g. {"category": "A"} for COE Category A.
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>",
"field": "<field>"
},
"name": "get_value"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Dataset id, from list_datasets. | |
| date | No | Optional: the last row on or before this date (YYYY-MM-DD, YYYY-MM or YYYY). | |
| field | Yes | The field, e.g. "compounded_3m_pct" for SORA. get_dataset lists every field. | |
| where | No | Optional: only rows whose fields equal these values. |