transport
Control REAPER's transport to play, stop, pause, record, or navigate to specific positions in audio projects.
Instructions
Control REAPER's transport. action: play | stop | pause | record | goto_start | goto_position position: required when action == goto_position (seconds)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| position | No |
Implementation Reference
- src/reaper_mcp/server.py:459-469 (handler)The MCP tool handler for 'transport', which calls the adapter's transport method and wraps the result.
@mcp.tool() def transport(action: str, position: float | None = None) -> dict[str, Any]: """ Control REAPER's transport. action: play | stop | pause | record | goto_start | goto_position position: required when action == goto_position (seconds) """ try: return _wrap(adapter.transport(action=action, position=position)) except Exception as exc: return _err(exc) - The adapter implementation for the transport command, which forwards the call to the bridge client.
def transport(self, action: str, position: float | None = None) -> dict[str, Any]: return self._client.call("transport", action=action, position=position)