Treasury Yield Curve
get_treasury_yieldsGet US Treasury yield curve data (1m through 30y) for a given year. No API key required.
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_treasury_yields"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | Year to fetch yield curve data for (default: current year) | |
| limit | No | Maximum rows per page; omitted = curated default (25) | |
| cursor | No | Opaque continuation token from a previous response's `pageInfo.endCursor`; omitted = first page | |
| fields | No | Comma-separated list of GraphQL field names to include; omitted = all fields |