get_track_items
Lists media items on a specified track, showing position, length, and take details for project organization in REAPER.
Instructions
List all media items on a track with their position, length, and take info.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| track_index | Yes |
Implementation Reference
- src/reaper_mcp/server.py:346-351 (handler)MCP tool registration and handler for get_track_items.
def get_track_items(track_index: int) -> dict[str, Any]: """List all media items on a track with their position, length, and take info.""" try: return _wrap(adapter.get_track_items(track_index=track_index)) except Exception as exc: return _err(exc) - Adapter method in ReaperAdapter class that dispatches the call to the BridgeClient.
def get_track_items(self, track_index: int) -> dict[str, Any]: return self._client.call("get_track_items", track_index=track_index)