search_tools
List Search Tools
List all search tools that are available in the database and config file.
Example Request:
curl -X GET "http://localhost:4000/search_tools/list" -H "Authorization: Bearer <your_api_key>"
Example Response:
{
"search_tools": [
{
"search_tool_id": "123e4567-e89b-12d3-a456-426614174000",
"search_tool_name": "litellm-search",
"litellm_params": {
"search_provider": "perplexity",
"api_key": "sk-***",
"api_base": "https://api.perplexity.ai"
},
"search_tool_info": {
"description": "Perplexity search tool"
},
"created_at": "2023-11-09T12:34:56.789Z",
"updated_at": "2023-11-09T12:34:56.789Z",
"is_from_config": false
},
{
"search_tool_name": "config-search-tool",
"litellm_params": {
"search_provider": "tavily",
"api_key": "tvly-***"
},
"is_from_config": true
}
]
}
get/search_tools/list
Response
Successful Response
Changes
Changed in 2 of the 42 revisions of this API.4
- ○
api tag
search_toolsaddedapi-tag-added
- ○
api tag
Search Toolsremovedapi-tag-removed
- ○
- ○
api tag
Search Toolsaddedapi-tag-added
- ○
api tag
search_toolsremovedapi-tag-removed
This revision also has 5 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○