Model detail
model_detailOne model in detail: prices, context, what it supports, and what a call of a given size would cost.
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": {
"model": "<model>"
},
"name": "model_detail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Model ID with its vendor, like openai/gpt-4.1-mini. | |
| tokens_in | No | Prompt tokens of a typical call, for the cost estimate. 1000 by default. | |
| tokens_out | No | Answer tokens of a typical call, for the cost estimate. 500 by default. |