| 15 | }); |
| 16 | |
| 17 | export class SaveApiKeyTool extends Tool<z.infer<typeof Args>> { |
| 18 | name = 'save_api_key'; |
| 19 | description = 'Store an API key the USER just provided in chat (e.g. FIRECRAWL_API_KEY / TAVILY_API_KEY / BRAVE_SEARCH_API_KEY) into ~/.qodex/.env (chmod 600) and load it into this session, so a blocked task (web search, page extraction, a cloud provider) can continue immediately. Use ONLY with a key the user explicitly pasted — never invent or reuse values. The value is never echoed back or logged.'; |
| 20 | isReadOnly = false; |
nothing calls this directly
no outgoing calls
no test coverage detected