Function: mcp-sync-list-resource-templates
mcp-sync-list-resource-templates is a natively compiled function
defined in mcp.el.
Signature
(mcp-sync-list-resource-templates CONNECTION &optional CALLBACK ERROR-CALLBACK)
Documentation
Get list of resource templates from the MCP server using the CONNECTION.
CALLBACK is a function to call with the result. ERROR-CALLBACK is a function to call on error.
Source Code
;; Defined in /nix/store/5m747x13pb1ddrvbq9raj91c4q1h1kl0-emacs-packages-deps/share/emacs/site-lisp/elpa/mcp-20260615.940/mcp.el
(defun mcp-sync-list-resource-templates (connection &optional callback error-callback)
"Get list of resource templates from the MCP server using the CONNECTION.
CALLBACK is a function to call with the result.
ERROR-CALLBACK is a function to call on error."
(mcp--list-items connection :resources/templates/list :resourceTemplates '-template-resources callback error-callback 'sync))