Function: eca-chat--tool-call-json-outputs-details
eca-chat--tool-call-json-outputs-details is a natively compiled
function defined in eca-chat.el.
Signature
(eca-chat--tool-call-json-outputs-details CONTENT TIME STATUS &optional PARENT-ID)
Documentation
Update tool call UI for json output given CONTENT, TIME, STATUS and PARENT-ID.
Source Code
;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-chat.el
(defun eca-chat--tool-call-json-outputs-details (content time status &optional parent-id)
"Update tool call UI for json output given CONTENT, TIME, STATUS and PARENT-ID."
(-let* (((&plist :name name :arguments arguments :server server :details details :id
id :summary summary) content)
(jsons (plist-get details :jsons))
(label (or summary (format "Called tool: %s__%s" server name))))
(eca-chat--update-expandable-content
id
(concat (propertize label 'font-lock-face 'eca-chat-mcp-tool-call-label-face)
" " status time)
(eca-chat--content-table
`(("Tool" . ,name)
("Server" . ,server)
("Arguments" . ,arguments)
("Json output" . ,(concat "\n"
"```javascript\n"
(string-join jsons "\n")
"\n```"))))
nil
parent-id)))