Function: eca-chat-tool-call-accept-all

eca-chat-tool-call-accept-all is an interactive and natively compiled function defined in eca-chat.el.

Signature

(eca-chat-tool-call-accept-all)

Documentation

Accept all pending approval tool call in chat.

Key Bindings

eca-chat-mode-map C-c C-a

Source Code

;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-chat.el
;;;###autoload
(defun eca-chat-tool-call-accept-all ()
  "Accept all pending approval tool call in chat."
  (interactive)
  (eca-assert-session-running (eca-session))
  (save-excursion
    (eca-chat--with-current-buffer (eca-chat--get-active-buffer (eca-session))
      (goto-char (point-min))
      (when (text-property-search-forward 'eca-tool-call-pending-approval-accept t t)
        (call-interactively #'eca-chat--key-pressed-return)))))