Skip to main content
Glama

duplicate_track

Duplicate a track in REAPER projects by inserting an exact copy immediately after the original track. Use this tool to quickly replicate track configurations, effects, and settings for parallel processing or layered arrangements.

Instructions

Duplicate a track, inserting the copy immediately after the original.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
track_indexYes

Implementation Reference

  • The tool handler for "duplicate_track" defined in the MCP server.
    @mcp.tool()
    def duplicate_track(track_index: int) -> dict[str, Any]:
        """Duplicate a track, inserting the copy immediately after the original."""
        try:
            return _wrap(adapter.duplicate_track(track_index=track_index))
        except Exception as exc:
            return _err(exc)
  • Registration of the "duplicate_track" tool using the FastMCP decorator.
    @mcp.tool()
  • The adapter method that forwards the "duplicate_track" call to the BridgeClient.
    def duplicate_track(self, track_index: int) -> dict[str, Any]:
        return self._client.call("duplicate_track", track_index=track_index)

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/danielkinahan/ReaMCP'

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