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
963 B
963 B
litellm_search_tool Data Source
Retrieves information about an existing search tool on the LiteLLM proxy.
Example Usage
data "litellm_search_tool" "existing" {
search_tool_id = "123e4567-e89b-12d3-a456-426614174000"
}
output "search_tool_name" {
value = data.litellm_search_tool.existing.search_tool_name
}
Argument Reference
The following arguments are supported:
search_tool_id- (Required) Unique identifier of the search tool to retrieve.
Attribute Reference
In addition to all arguments above, the following attributes are exported:
search_tool_name- Name of the search tool.search_tool_info- Additional metadata as a JSON object string (decode withjsondecode).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.