Allowed tools settings for non-interactive mode?
Resolved 💬 2 comments Opened Oct 3, 2025 by orakemu Closed Nov 14, 2025
What is the type of issue?
Documentation is confusing
What is the issue?
I've been trying to integrate the non-interactive mode. For my use case, it would be useful to be able to set a list of allowed tools.
For instance, I want to let codex edit and read files within the directory and let it use MCPs and certain commands such as git.
How can I achieve this at the moment?
I noticed the docs got updated recently ( #4583 ) but it's still a bit confusing to me.
Where did you find it?
https://github.com/openai/codex/blob/f176d6b19d639921c964cb238fc1dcf00ff36939/docs/exec.md
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗