remove_fx
Delete an FX plugin from a track's effects chain in REAPER. Specify track and FX indices to remove specific audio processing tools from your project.
Instructions
Remove an FX plugin from a track's FX chain.
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>",
"fx_index": "<fx_index>"
},
"name": "remove_fx"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| track_index | Yes | ||
| fx_index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/reaper_mcp/server.py:551-557 (handler)The MCP tool definition and handler for 'remove_fx'. It wraps the adapter call and handles potential errors.
@mcp.tool() def remove_fx(track_index: int, fx_index: int) -> dict[str, Any]: """Remove an FX plugin from a track's FX chain.""" try: return _wrap(adapter.remove_fx(track_index=track_index, fx_index=fx_index)) except Exception as exc: return _err(exc) - The adapter method that forwards the 'remove_fx' request to the REAPER client.
def remove_fx(self, track_index: int, fx_index: int) -> dict[str, Any]: return self._client.call( "remove_fx", track_index=track_index, fx_index=fx_index )