Look up a Treasury security
get_treasury_securityLook up one Treasury security by CUSIP: its terms, price history, and analytics including duration, convexity, DV01 and key-rate durations, plus TIPS and floating-rate analytics where they apply, and the amount outstanding. Takes a CUSIP, not a description such as 'the current 10-year'.
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": {
"cusip": "<cusip>"
},
"name": "get_treasury_security"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cusip | Yes | Nine-character Treasury CUSIP, e.g. "91282CJL6". | |
| summarize | No | Defaults to true: the daily price and analytics series are left out and the latest values kept. False returns the full daily history, which for a long bond is thousands of rows. | |
| outstanding_on | No | Date for the amount outstanding. The month-end statement in force on it is used. Defaults to today. |