set_track_send
Adjust send levels for audio tracks in Ableton Live by specifying track index, send index, and value to route signals to effects or mix channels.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"track_index": "<track_index>",
"send_index": "<send_index>",
"send_value": "<send_value>"
},
"name": "set_track_send"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| track_index | Yes | ||
| send_index | Yes | ||
| send_value | Yes |
Implementation Reference
- MCP_Server/server.py:588-588 (registration)Registers the set_track_send tool using the @mcp.tool() decorator with the FastMCP server.
@mcp.tool() - MCP_Server/server.py:589-600 (handler)The handler function that executes the tool: connects to Ableton Remote Script, sends the 'set_track_send' command with parameters, and returns success/error message based on the result.
def set_track_send(ctx: Context, track_index: int, send_index: int, send_value: float) -> str: try: ableton = get_ableton_connection() result = ableton.send_command("set_track_send", { "track_index": track_index, "send_index": send_index, "send_value": send_value }) return f"Set track '{result.get('track_name')}' send {result.get('send_index')} to {result.get('send_value'):.2f}" except Exception as e: logger.error(f"Error setting track send: {str(e)}") return f"Error setting track send: {str(e)}"