Function: eca-chat--first-pending-approval-id

eca-chat--first-pending-approval-id is a natively compiled function defined in eca-chat.el.

Signature

(eca-chat--first-pending-approval-id)

Documentation

Return the id of the first tool call awaiting approval, or nil.

Source Code

;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-chat.el
(defun eca-chat--first-pending-approval-id ()
  "Return the id of the first tool call awaiting approval, or nil."
  (save-excursion
    (goto-char (point-min))
    (when-let* ((match (text-property-search-forward
                        'eca-tool-call-pending-approval-accept t t)))
      (get-text-property (prop-match-beginning match) 'eca-tool-call-id))))