filter
Filter a JSON array by a query object. Supports >, <, ! prefixes for comparisons.
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": {
"data": "<data>",
"query": "<query>"
},
"name": "filter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Array of objects to filter | |
| query | Yes | Filter criteria (e.g. {"age":">30","status":"active"}) |