get_current_rates
Retrieve current prices and yields for all Tesouro Direto bonds as a CSV snapshot, optionally filtering by bond family or forcing a fresh download.
Instructions
Current prices and yields for all Tesouro Direto bonds.
Returns the latest available snapshot (the most recent reference date in the data) as CSV, one row per bond and maturity, ordered by maturity.
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": "get_current_rates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset_codes | No | Bond families to include (LTN, LFT, NTN-B, NTN-B Principal, NTN-F, NTN-C, RendA+, Educa+). Omit for all bonds. | |
| force_download | No | Ignore today's cached file and download the source again. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |