Function: eca-chat-tool-call-reject-next
eca-chat-tool-call-reject-next is an interactive and natively compiled
function defined in eca-chat.el.
Signature
(eca-chat-tool-call-reject-next)
Documentation
Search the next pending approval tool call in the buffer and reject it.
Starting from the beginning of the buffer.
Key Bindings
eca-chat-mode-map C-c C-r
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-reject-next ()
"Search the next pending approval tool call in the buffer and reject it.
Starting from the beginning of the buffer."
(interactive)
(eca-assert-session-running (eca-session))
(eca-chat--with-current-buffer (eca-chat--get-active-buffer (eca-session))
(save-excursion
(goto-char (point-min))
(when (text-property-search-forward 'eca-tool-call-pending-approval-reject t t)
(call-interactively #'eca-chat--key-pressed-return)))))