Open one public trade document by id
kyrodata_fetchOpens ONE public foreign-trade document by id and returns it as prose to quote: title, body text and a public URL for citation. id is not free text — it is an id kyrodata_search returned, shaped heading:1201 (an HS heading) or country:160 (a partner country); anything else is refused rather than guessed. The body carries the measured figures of the latest published year, Brazilian exports and imports in USD FOB and kg, plus the window, the source and its caveats. Public government trade data only. The output here is a citable DOCUMENT with a URL, and this is the only tool that returns one. A heading as structured figures and a monthly series to reason over is kyrodata_get_heading_overview; free text to find an id in the first place is kyrodata_search. Credit class: comex (up to 2 comex tools per 60-second session = 1 credit).
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": "kyrodata_fetch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Identifier of a document returned by kyrodata_search. Not a free-text query. | |
| response_format | No | How much of the answer to return. `concise` (the default) carries the headline figures; `detailed` adds the row-level series behind them and counts against the export quota. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The document id that was fetched. | |
| url | Yes | Public page with the same data, for citation. | |
| text | Yes | The document body: the measured figures, the window, the source. | |
| title | Yes | Human-readable name of the document. | |
| metadata | Yes | kind, code, flow, window, sources, caveats and dataVersion. |