get_model
Get model details and pricing. Generation models include input_schema.parameters (name/type/options with human-readable labels, defaults and ranges — use them for the input object: they are the parameters the model accepts, and a generate call with a misspelled name or a parameter the model is known not to apply is rejected; some of them change the cost) and reference pricing (TTS per 1000 characters, plus text_limits for the allowed text length); text models include context limits and per-1K input/output credit rates.
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": "get_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Model slug from list_models. Slugs may contain '/' (e.g. 'google/imagen4', 'midjourney/v7') — pass them verbatim. | |
| locale | No | Language of human-readable labels/hints in input_schema (parameter names and values are language-independent). | en |