Variable: gptel-confirm-tool-calls

gptel-confirm-tool-calls is a customizable variable defined in gptel-request.el.

Value

auto

Documentation

Whether tool calls should wait for the user to run them.

If set to t or nil, tool calls always or never seek confirmation from the user before running.

If set to the symbol auto (the default), a tool call will seek confirmation only when the corresponding tool spec has a non-nil
:confirm slot. See gptel-make-tool.

Source Code

;; Defined in /nix/store/q3r7g81pvghw7a523kjk2k2zih3pfk8z-emacs-packages-deps/share/emacs/site-lisp/elpa/gptel-20261002.545/gptel-request.el
(defcustom gptel-confirm-tool-calls 'auto
  "Whether tool calls should wait for the user to run them.

If set to t or nil, tool calls always or never seek confirmation
from the user before running.

If set to the symbol auto (the default), a tool call will seek
confirmation only when the corresponding tool spec has a non-nil
:confirm slot.  See `gptel-make-tool'."
  :type '(choice
          (const :tag "Tool decides" auto)
          (const :tag "Always" t)
          (const :tag "Never" nil)))