convolution
Applies discrete signal-kernel filtering to an input array, returning full, same, or valid output modes for signal processing tasks.
Instructions
Compute discrete convolution of a signal with a kernel. Supports full, same, and valid modes.
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>",
"kernel": "<kernel>"
},
"name": "convolution"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Output mode (default full) | |
| kernel | Yes | Convolution kernel array | |
| signal | Yes | Input signal array |