Function: eca-mcp--add-form-edit-list-field
eca-mcp--add-form-edit-list-field is a natively compiled function
defined in eca-mcp.el.
Signature
(eca-mcp--add-form-edit-list-field FIELD PROMPT SESSION)
Documentation
Read multiple lines for list FIELD (env or headers) until empty.
Source Code
;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-mcp.el
(defun eca-mcp--add-form-edit-list-field (field prompt session)
"Read multiple lines for list FIELD (env or headers) until empty."
(let (acc next)
(while (not (string-empty-p (setq next (read-string prompt ""))))
(push next acc))
(eca-mcp--add-form-set field (nreverse acc) session)))