Skip to content

Build MCP tool runtimes before router planning - #33149

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/67f7fbeecc2992318c859e038cd97938833911db
Jul 14, 2026
Merged

Build MCP tool runtimes before router planning#33149
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/67f7fbeecc2992318c859e038cd97938833911db

Conversation

@copyberry

@copyberry copyberry Bot commented Jul 14, 2026

Copy link
Copy Markdown

Build MCP tool runtimes before router planning

What changed

  • Convert filtered MCP tool metadata into CoreToolRuntime instances before constructing the tool router.
  • Pass those runtimes through the shared tool-planning path instead of maintaining separate direct and deferred MCP tool lists.
  • Preserve MCP visibility, app policy filtering, and direct versus deferred exposure behavior.

## What changed

- Convert filtered MCP tool metadata into `CoreToolRuntime` instances before constructing the tool router.
- Pass those runtimes through the shared tool-planning path instead of maintaining separate direct and deferred MCP tool lists.
- Preserve MCP visibility, app policy filtering, and direct versus deferred exposure behavior.

GitOrigin-RevId: 67f7fbeecc2992318c859e038cd97938833911db
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/67f7fbeecc2992318c859e038cd97938833911db branch from b0b726a to 1447cee Compare July 14, 2026 20:37
@copyberry
copyberry Bot merged commit 1447cee into main Jul 14, 2026
11 of 26 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/67f7fbeecc2992318c859e038cd97938833911db branch July 14, 2026 20:38
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 14, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant