Skip to main content
Glama

delete_scene

Remove a specific scene from your Ableton Live session to clean up arrangements and manage your project structure. Specify the scene index to delete it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scene_indexYes

Implementation Reference

  • MCP tool handler function for 'delete_scene'. It uses the AbletonConnection to send a 'delete_scene' command with the scene_index parameter to the Ableton remote script via socket.
    @mcp.tool() def delete_scene(ctx: Context, scene_index: int) -> str: try: ableton = get_ableton_connection() result = ableton.send_command("delete_scene", {"scene_index": scene_index}) return f"Deleted scene '{result.get('name')}' at index {result.get('index')}" except Exception as e: logger.error(f"Error deleting scene: {str(e)}") return f"Error deleting scene: {str(e)}"
  • The @mcp.tool() decorator registers the delete_scene function as an MCP tool, inferring schema from the function signature (ctx: Context, scene_index: int) -> str.
    @mcp.tool()

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Milesy1/MCP-Ableton-API'

If you have feedback or need assistance with the MCP directory API, please join our Discord server