get_models
Discover available models and their configuration options for workspace pipelines and indexes. Filter by provider, connection status, or model name to choose the right chat generator.
Instructions
Lists the models including their configuration options available for use in a workspace's pipelines and indexes.
This includes predefined models offered by deepset as well as custom models configured
at the workspace or organization level. Use this tool to discover which model names and
providers can be used, which configuration options are available, and which default
configuration is offered when configuring chat generators.
:param limit: Maximum number of models to return per page.
:param page_number: The page to fetch, starting at 1.
:param connected: If set, only return models for which the workspace does (True) or
does not (False) have a working integration configured.
:param provider: If set, only return models from this provider. Accepts a well-known
ModelProvider value (e.g. 'openai', 'anthropic', 'gemini', 'aws-bedrock') or any other
provider name as a plain string. Case-insensitive, exact match.
:param model: If set, only return models whose configured model name contains this value
(e.g. 'gpt-4o'). Case-insensitive, substring match.
:param include_price: If True, each model also carries its effective price in USD per 1,000 tokens
(input, output and cache prices), with the workspace's and organization's custom prices applied.
Requires read access to costs. Models without a known price have no price, e.g. Azure models that
are only identified by their deployment name. Defaults to False.
:returns: A page of models including their configuration options or an error message.
The output is automatically stored and can be referenced in other functions.
Returns a formatted preview with an object ID (e.g., @obj_123).
Use the object store tools in combination with the object ID to view nested properties of the object.
Use the returned object ID to pass this result to other functions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| model | No | ||
| provider | No | ||
| connected | No | ||
| page_number | No | ||
| include_price | No |