json_json_filter
Filter a JSON array by key-value equality. Returns items where the specified key matches the given value, output as a JSON array.
Instructions
[json] Filter a JSON array, keeping items where the given key equals the given value. Returns a JSON array of matching items.
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>",
"key": "<key>",
"value": "<value>"
},
"name": "json_json_filter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| key | Yes | ||
| value | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |