Search tools (Admin UI)
Control which teams and virtual keys may call each configured web search integration (/v1/search) and see team/key level usage visibility within LiteLLM's spend dashboard.

Step 1: Register toolsβ
Search tools page β create tool (name + provider + credentials).

Step 2: Team allowlistβ
Teams β create/edit team β open Search Tool Settings β add tool(s) to the team.

Step 3: Key (optional stricter list)β
Virtual keys β generate/update for that team β Search Tool Settings must stay inside the team list (if team list is non-empty).

Step 4: Call searchβ
curl -sS -X POST "http://localhost:4000/v1/search/YOUR_SEARCH_TOOL_NAME" \
-H "Authorization: Bearer YOUR_VIRTUAL_KEY" \
-H "Content-Type: application/json" \
-d '{"query": "hello world", "max_results": 5}'

Step 5: See spendβ
Logs β filter Team ID + Public model / search tool = search_tool_name β Cost column.
