Function: claude-code-ide-mcp--build-tool-descriptions

claude-code-ide-mcp--build-tool-descriptions is a natively compiled function defined in claude-code-ide-mcp-handlers.el.

Signature

(claude-code-ide-mcp--build-tool-descriptions)

Documentation

Build the tool descriptions, conditionally including ediff tools.

Source Code

;; Defined in /nix/store/yjvbhwl7p6zrbw9xlnni7y4hra8sa3pl-emacs-packages-deps/share/emacs/site-lisp/claude-code-ide-mcp-handlers.el
(defun claude-code-ide-mcp--build-tool-descriptions ()
  "Build the tool descriptions, conditionally including ediff tools."
  `(("openFile" . "Open a file in the editor and optionally select a range of text")
    ("getDiagnostics" . "Get language diagnostics from Emacs")
    ("close_tab" . "Close a tab/buffer")
    ,@(when (bound-and-true-p claude-code-ide-use-ide-diff)
        '(("openDiff" . "Open a diff view comparing old and new file contents")
          ("closeAllDiffTabs" . "Close all open diff tabs in the current session")))
    ,@(when (bound-and-true-p claude-code-ide-enable-execute-code)
        '(("executeCode" . "Evaluate an Elisp expression in Emacs and return the result")))))