mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-07 08:26:10 +00:00
* feat(terraform): close key/team schema gaps, fix team read envelope, add import support * feat(terraform): add fallback resource/data source and key/team block resources * feat(terraform): add access group and unified access group resources and data sources * feat(terraform): add guardrail and prompt resources and data sources * feat(terraform): add agent and search tool resources and data sources * feat(terraform): add user and budget resources and data sources * feat(terraform): add tag and project resources and data sources * docs(terraform): changelog and readme for parity additions * feat(terraform): add data sources for keys, teams, models, organizations, and mcp servers * fix(terraform): key update 400 on empty budget_duration, key info envelope, config-supplied key * fix(terraform): hash raw keys to SHA-256 tokens in key lookup URLs and block resource IDs
1 KiB
1 KiB
litellm_search_tools Data Source
Retrieves the list of search tools configured on the LiteLLM proxy, from both the database and the proxy config.
Example Usage
data "litellm_search_tools" "all" {}
output "search_tool_ids" {
value = data.litellm_search_tools.all.ids
}
Argument Reference
This data source takes no arguments.
Attribute Reference
The following attributes are exported:
ids- List of search tool IDs.search_tools- List of search tools. Each entry exports:search_tool_id- The unique search tool ID.search_tool_name- Name of the search tool.search_tool_info- Additional metadata as a JSON object string.is_from_config- Whether the search tool comes from the proxy config file rather than the database.created_at- Timestamp when the search tool was created.updated_at- Timestamp when the search tool was last updated.
Security Note
litellm_params is not exposed through this data source because it may hold provider API keys.