Skip to main content
Glama

duplicate_track

Create a duplicate of a MIDI or audio track in Ableton Live by specifying its index, simplifying track management and workflow enhancement.

Instructions

duplicate midi or audio track by index

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
indexYes[int] index of track

Implementation Reference

  • The handler function for duplicate_track tool. It calls ableton.song.duplicateTrack(index) and returns success.
    async duplicateTrack({ index }: { index: number }) { await ableton.song.duplicateTrack(index) return Result.ok() }
  • Registration of the duplicate_track tool using the @tool decorator, including name, description, and input schema.
    @tool({ name: 'duplicate_track', description: 'duplicate midi or audio track by index', paramsSchema: { index: z.number().describe('[int] index of track'), } })
  • Zod schema for the input parameter 'index'.
    index: z.number().describe('[int] index of track'), }

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/xiaolaa2/ableton-copilot-mcp'

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