What
When you are not logged in, both the input check and the tool call stop immediately and name the credential source that is standing in the way: the ANTHROPIC_API_KEY environment variable, the apiKeyHelper setting, a token file descriptor, or a Unix socket, each with its own fix.
Details
- for the environment variable the advice is to unset it, or run
/logoutand decline the API key approval before logging back in
Evidence
Unset the ANTHROPIC_API_KEY environment variable, or claude /logout then say "No" to the API key approval before login.
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Names in the bundleANTHROPIC_API_KEYapiKeyHelper