get_session_info
Retrieve current Ableton Live session details including tracks, instruments, and MIDI clips for music production management.
Instructions
Get detailed information about the current Ableton session
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- The actual implementation of the tool logic that queries the Ableton Live object model for session info.
def _get_session_info(self): """Get information about the current session""" try: result = { "tempo": self._song.tempo, "signature_numerator": self._song.signature_numerator, "signature_denominator": self._song.signature_denominator, "track_count": len(self._song.tracks), "return_track_count": len(self._song.return_tracks), "master_track": { "name": "Master", "volume": self._song.master_track.mixer_device.volume.value, "panning": self._song.master_track.mixer_device.panning.value } } return result except Exception as e: - MCP_Server/server.py:228-233 (handler)The MCP tool handler that invokes the remote script command via `_run`.
def get_session_info(ctx: Context) -> str: """Get detailed information about the current Ableton session""" try: return json.dumps(_run("get_session_info"), indent=2) except Exception as e: return f"Error: {e}"