Query Federal Public Debt statistics
get_tesouro_dpfRetrieve one official monthly RMD table at a time: debt composition, DPMFi holders, average maturity, average maturity by indexer, monthly cost, or twelve-month cost. Units remain table-specific and are never combined.
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": {
"dataset_id": "<dataset_id>"
},
"name": "get_tesouro_dpf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Inclusive last month, YYYY-MM. | |
| from | No | Inclusive first month, YYYY-MM. | |
| limit | No | Maximum debt-statistics rows to return. | |
| query | No | Category-label search; useful when category IDs are unknown. | |
| table | No | Versioned RMD table to retrieve. | composition |
| categories | No | Exact category IDs returned for the selected table by get_tesouro_dpf_schema. | |
| dataset_id | Yes | The official Tesouro Nacional DPF debt-profile dataset identifier. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Source-preserving data or schema payload for the selected official dataset. | |
| meta | Yes | Response metadata and source provenance. | |
| links | No | Related API links. |