Function: mcp-get-prompt
mcp-get-prompt is a natively compiled function defined in mcp.el.
Signature
(mcp-get-prompt CONNECTION NAME ARGUMENTS)
Documentation
Call a prompt on the remote CONNECTION with NAME and ARGUMENTS.
CONNECTION is the MCP connection object. NAME is the name of the prompt to call. ARGGUMENTS is a list of arguments to pass to the prompt
Source Code
;; Defined in /nix/store/5m747x13pb1ddrvbq9raj91c4q1h1kl0-emacs-packages-deps/share/emacs/site-lisp/elpa/mcp-20260615.940/mcp.el
(defun mcp-get-prompt (connection name arguments)
"Call a prompt on the remote CONNECTION with NAME and ARGUMENTS.
CONNECTION is the MCP connection object.
NAME is the name of the prompt to call.
ARGGUMENTS is a list of arguments to pass to the prompt"
(jsonrpc-request connection
:prompts/get
(list :name name
:arguments (if arguments
arguments
#s(hash-table)))))