fire_scene
Trigger a specific scene in Ableton Live to activate musical arrangements, enabling prompt-based control of session playback and composition flow.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scene_index | Yes |
Implementation Reference
- MCP_Server/server.py:631-639 (handler)The handler function for the 'fire_scene' MCP tool. It uses the AbletonConnection to send a 'fire_scene' command with the provided scene_index to the Ableton Remote Script socket server and returns a status message.@mcp.tool() def fire_scene(ctx: Context, scene_index: int) -> str: try: ableton = get_ableton_connection() result = ableton.send_command("fire_scene", {"scene_index": scene_index}) return f"Fired scene '{result.get('scene_name')}' at index {result.get('scene_index')}" except Exception as e: logger.error(f"Error firing scene: {str(e)}") return f"Error firing scene: {str(e)}"
- MCP_Server/server.py:631-631 (registration)The @mcp.tool() decorator registers the fire_scene function as an MCP tool.@mcp.tool()