get_tempo
Retrieve the current BPM and time signature from REAPER projects to synchronize audio editing and playback settings.
Instructions
Return the current BPM and time signature.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/reaper_mcp/server.py:608-614 (handler)The MCP tool handler for "get_tempo", which wraps the adapter call.
@mcp.tool() def get_tempo() -> dict[str, Any]: """Return the current BPM and time signature.""" try: return _wrap(adapter.get_tempo()) except Exception as exc: return _err(exc) - src/reaper_mcp/reaper_adapter.py:356-357 (handler)The adapter method that sends the "get_tempo" command to the bridge client.
def get_tempo(self) -> dict[str, Any]: return self._client.call("get_tempo")