Why Code Mode must expose the full tool list to the model for JS calls

charliermarsh · x · 2026-11-22

Charlie Marsh explains the constraint behind Code Mode's optimization: the model needs access to the full list of available tools so it can call them from JS, and that list can be large since it includes each tool's name, description, and arguments — which is what the session-level catalog reuse optimizes.

Related event: Codex Code Mode speeds up calls by 10ms via cross-cell tool catalog reuse(5 posts)→

Original post →

More from coding & agent

coding & agent channel →