Get the Treasury yield curve
get_treasury_curveGet the U.S. Treasury yield curve for a single day: the fitted zero-coupon (spot) curve and, on request, the par curve, money-market curve, TIPS real curve, breakeven inflation, the prior trading day for day-over-day moves, and per-CUSIP yields. Omit the date for the most recent published day, which is what you want on a weekend or holiday. Treasury yields are not mortgage rates.
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_curve"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Trading day as YYYY-MM-DD. Omit for the most recent published day — most calendar days are not trading days, so omitting is usually right. | |
| include | No | Which curves to return. Defaults to ["zero"]. "real" is the TIPS curve, "breakeven" the inflation implied between them, "prior" the previous trading day for comparison, "queue_yields" per-CUSIP yields and curve residuals. | |
| queue_kind | No | Security kind for "queue_yields". Defaults to Note. |