Variable: gptel-include-tool-results
gptel-include-tool-results is a customizable variable defined in
gptel-request.el.
Value
auto
Documentation
Whether tool call results should be included in the buffer.
If set to t, tool calls and results are always included in the LLM response.
If set to nil, tool calls are never shown in the buffer.
If set to the symbol call, only the tool call parameters are included
in the buffer; results are omitted.
If set to the symbol auto (the default), this is left up to the tool: a
tool call is included only when the corresponding tool spec has a
non-nil :include 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-include-tool-results 'auto
"Whether tool call results should be included in the buffer.
If set to t, tool calls and results are always included in the LLM
response.
If set to nil, tool calls are never shown in the buffer.
If set to the symbol `call', only the tool call parameters are included
in the buffer; results are omitted.
If set to the symbol auto (the default), this is left up to the tool: a
tool call is included only when the corresponding tool spec has a
non-nil :include slot. See `gptel-make-tool'."
:type '(choice
(const :tag "Tool decides" auto)
(const :tag "Always" t)
(const :tag "Call only, no results" call)
(const :tag "Never" nil)))