key_info
Retrieve detailed information and spending data for a LiteLLM Proxy API key. Provide a key to query specific usage, or omit to get info for the current key.
Instructions
Get details and spend info for a LiteLLM Proxy API key (/key/info)
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": "key_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | The virtual key to look up. If omitted, info for the current proxy API key is returned. |