Repository navigation
Description
OpenAI Developers key setup returns Unknown tool after account switch/reinstallation
Codex App version
The installed desktop app version was not available to the agent's tool environment. This happened in a local Codex desktop chat on October 10, 2026.
Subscription
Not collected for this report.
Platform
macOS desktop, local execution.
Actual behavior
The user reported that the OpenAI Developers plugin had been connected to a previous employer's account, then reported reinstalling it and signing in to a personal account. The agent's plugin management tools reported OpenAI Developers as installed and enabled.
The key setup tools remained advertised to the agent, but calls repeatedly failed:
Mcp error: -32001: Unknown tool({"name":"openai_platform.open_codex_api_key_setup"})
Mcp error: -32001: Unknown tool({"name":"openai_platform.list_openai_api_key_targets"})
An asynchronous picker response later arrived. The user identified that selection as belonging to the previous company, so the agent did not use it to create a key. Further attempts to reopen the secure picker returned the same missing-tool error.
No API key was created or written by the agent. The user ultimately requested a manual key-creation path and a local backend credential file.
Steps observed
- In a local Codex desktop chat, ask the agent to create a project OpenAI API key through the OpenAI Developers plugin.
- Change the connected account by reinstalling/reconnecting the plugin. In this session the account change was reported by the user, rather than independently verified by the agent.
- Ask the agent to reopen secure key setup with
openai_platform.open_codex_api_key_setup({}). - Observe
Unknown tooleven though plugin management reports the plugin installed and enabled. - Attempt target lookup with
openai_platform.list_openai_api_key_targets({}); observe the same error. - A delayed picker response from the earlier setup may still arrive in the conversation. In this session the user rejected that response as the previous account selection.
These are the events observed in one session, not a confirmed minimal reproducer. The underlying cause has not been established.
Expected behavior
Account switching and plugin reinstallation should refresh tool registration. Key setup should clearly show the currently connected account, organization, and project, and pending picker responses should become invalid when their associated account selection is obsolete.
If the connector is unavailable, the app should reconcile its advertised tools with actual callable capabilities and offer one clear, secure recovery route.
Developer feedback and requested improvements
API credentials, organizations, projects, and account switching are core developer workflows. Repeated setup failures and confirmation loops interrupt product development and make users consider competing platforms even when they value OpenAI's models. This should be treated as essential reliability, rather than an optional convenience.
- Refresh connector registrations reliably after reconnecting, reinstalling, or changing accounts.
- Display and verify the active account and organization/project before key creation.
- Invalidate obsolete pending setup responses.
- Make installed/enabled status distinguish successful authentication from actual tool availability.
- Consolidate setup decisions and provide a clear secure fallback when a tool is missing.
No credentials, organization/project IDs, company identity, or conversation logs are included in this report.
Activity