Variable: claude-code-ide-enable-execute-code
claude-code-ide-enable-execute-code is a customizable variable defined
in claude-code-ide.el.
Value
t
Documentation
Whether to expose the executeCode tool to the model.
When non-nil, Claude Code can evaluate Elisp expressions in Emacs via the executeCode MCP tool. Set to nil to hide the tool entirely.
Source Code
;; Defined in /nix/store/yjvbhwl7p6zrbw9xlnni7y4hra8sa3pl-emacs-packages-deps/share/emacs/site-lisp/claude-code-ide.el
(defcustom claude-code-ide-enable-execute-code t
"Whether to expose the executeCode tool to the model.
When non-nil, Claude Code can evaluate Elisp expressions in Emacs
via the executeCode MCP tool. Set to nil to hide the tool entirely."
:type 'boolean
:group 'claude-code-ide)