Function: gptel--inspect-reject-tool-calls

gptel--inspect-reject-tool-calls is an interactive and natively compiled function defined in gptel.el.

Signature

(gptel--inspect-reject-tool-calls &optional _)

Documentation

Cancel tool-calls and return to query buffer.

Key Bindings

gptel-tool-call-inspection-map C-c C-k

Source Code

;; Defined in /nix/store/q3r7g81pvghw7a523kjk2k2zih3pfk8z-emacs-packages-deps/share/emacs/site-lisp/elpa/gptel-20261002.545/gptel.el
(defun gptel--inspect-reject-tool-calls (&optional _)
  "Cancel tool-calls and return to query buffer."
  (interactive)
  (apply #'gptel--reject-tool-calls
         (thread-first (gptel-fsm-info gptel--fsm-last)
                       (plist-get :tool-display)))
  (quit-window t))