Skip to main content
Glama

set_clip_name

Rename clips in Ableton Live by specifying track and clip positions with a new name for better organization and workflow management.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
clip_indexYes
nameYes
track_indexYes

Implementation Reference

  • The main handler function for the 'set_clip_name' MCP tool. It connects to Ableton via the global connection, sends a 'set_clip_name' command with the provided track_index, clip_index, and name parameters, and returns a success or error message.
    @mcp.tool() def set_clip_name(ctx: Context, track_index: int, clip_index: int, name: str) -> str: try: ableton = get_ableton_connection() result = ableton.send_command("set_clip_name", { "track_index": track_index, "clip_index": clip_index, "name": name }) return f"Renamed clip at track {track_index}, slot {clip_index} to '{name}'" except Exception as e: logger.error(f"Error setting clip name: {str(e)}") return f"Error setting clip name: {str(e)}"

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