latestOpenAPI 3.1.02026-08-226994571.1 MB

1e929292ddd5

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