MCPcopy Create free account
hub / github.com/QodeXcli/QodeX /

Class

src/tools/builtin/save-api-key.ts:17–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15});
16
17export 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;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected