Function: claude-code-ide-mcp--send-notification
claude-code-ide-mcp--send-notification is a natively compiled function
defined in claude-code-ide-mcp.el.
Signature
(claude-code-ide-mcp--send-notification METHOD PARAMS SESSION)
Documentation
Send a JSON-RPC notification with METHOD and PARAMS to SESSION.
SESSION is required; broadcasting to several instances is done by calling this once per session.
Source Code
;; Defined in /nix/store/yjvbhwl7p6zrbw9xlnni7y4hra8sa3pl-emacs-packages-deps/share/emacs/site-lisp/claude-code-ide-mcp.el
(defun claude-code-ide-mcp--send-notification (method params session)
"Send a JSON-RPC notification with METHOD and PARAMS to SESSION.
SESSION is required; broadcasting to several instances is done by
calling this once per session."
(when-let* ((client (and session
(claude-code-ide-mcp-session-client session))))
(let ((message `((jsonrpc . "2.0")
(method . ,method)
(params . ,params))))
(claude-code-ide-debug "Sending notification: %s" (json-encode message))
(condition-case err
(progn
(websocket-send-text client (json-encode message))
(claude-code-ide-debug "Sent %s notification" method))
(error
(claude-code-ide-debug "Failed to send notification %s: %s" method err))))))