get_interest_rate
Retrieve interest rate data including LPR, SHIBOR, and LIBOR. Specify rate type and optional date range to get historical values.
Instructions
Get interest rate data (LPR, SHIBOR, LIBOR).
Directly invoke with rate_type. get_interest_rate(rate_type="lpr", start="2023-01-01")
Args: rate_type: lpr/shibor/libor start: Start date YYYY-MM-DD (optional) end: End date YYYY-MM-DD (optional)
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": {
"rate_type": "<rate_type>"
},
"name": "get_interest_rate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | ||
| start | No | ||
| rate_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| hint | No | ||
| error | No | ||
| cached | No | ||
| source | No | ||
| status | Yes | ||
| updated_at | No |