start_recording
Begin audio recording in Ableton Live to capture musical ideas and performances directly into your project timeline.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "start_recording"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- MCP_Server/server.py:663-672 (handler)This is the main handler function for the 'start_recording' MCP tool. It is registered via the @mcp.tool() decorator. The function obtains a connection to the Ableton Remote Script and sends a 'start_recording' command over socket, then returns a status message based on the response.
@mcp.tool() def start_recording(ctx: Context) -> str: try: ableton = get_ableton_connection() result = ableton.send_command("start_recording") status = "recording" if result.get('recording') else "not recording" return f"Started recording - Status: {status}, Playing: {result.get('playing')}" except Exception as e: logger.error(f"Error starting recording: {str(e)}") return f"Error starting recording: {str(e)}"