Web Search Tool for Timmy #20
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What & Why
Timmy's knowledge is frozen at his training cutoff. A web search tool lets him answer questions about current events, verify facts, look up documentation, and fetch real-world data. Dramatically increases the range and accuracy of jobs Timmy can handle.
Done looks like
SEARCH_PROVIDERenv var selects backend (default: Brave Search API; fallback: no-op stub)Out of scope
Tasks
webSearch(query)service using Brave Search API (or stub); return top 5 title+snippet+url results as structured JSON.web_searchas a Claude tool in the work model call; handle tool invocation in the agent loop.tool_useWebSocket event for the Workshop to show the 'Searching: [query]' indicator.Relevant files
artifacts/api-server/src/lib/agent.tsartifacts/api-server/src/lib/pricing.tsartifacts/api-server/src/routes/jobs.tsartifacts/api-server/src/routes/events.tsthe-matrix/js/ui.jsthe-matrix/js/websocket.js