live_ping
Verify the connection status and version of the Ableton Live bridge to ensure proper communication with the MCP server.
Instructions
Check bridge health/version.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- Ableton_Live_MCP/bridge.py:173-176 (handler)The actual RPC handler for 'ping' that runs inside Ableton Live. Returns ok, version string, and major version number.
def _rpc_ping(self, _params): app = Live.Application.get_application() version = app.get_version_string() if hasattr(app, "get_version_string") else "unknown" return {"ok": True, "version": version, "major": self._major_version(version)} - src/server.py:45-45 (registration)Registers the 'live_ping' tool on the MCP server with an empty schema and forwards calls to the bridge 'ping' method.
server.add_tool(Tool("live_ping", "Check bridge health/version.", schema({}), forward("ping"))) - src/server.py:45-45 (schema)The schema for 'live_ping' is an empty object (no parameters required). Defined inline in the Tool registration.
server.add_tool(Tool("live_ping", "Check bridge health/version.", schema({}), forward("ping"))) - src/server.py:33-34 (helper)The 'forward' helper that creates a closure around bridge.request, used by all tool handlers including live_ping.
def forward(method: str): return lambda args: bridge.request(method, args)