filter_signal
Apply Butterworth lowpass, highpass, bandpass, or bandstop filtering with zero-phase filtfilt to remove noise or isolate frequency bands from signals.
Instructions
Filter a signal with a Butterworth design and zero-phase filtfilt.
``kind`` is lowpass, highpass, bandpass or bandstop. ``cutoff`` is in Hz;
lowpass/highpass take a scalar and bandpass/bandstop take ``[low, high]``.
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": {
"signal": "<signal>",
"kind": "<kind>",
"cutoff": "<cutoff>",
"sample_rate": "<sample_rate>"
},
"name": "filter_signal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| order | No | ||
| cutoff | Yes | ||
| signal | Yes | ||
| sample_rate | Yes |