Array Filter
Filters arrays using deterministic comparison operators and optional value normalization.
Run tool
Form input
Direct JSON or Markdown
Submit JSON directly or Markdown that can be converted into JSON.
Work steps
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
items | array | Yes | Items |
field | text | Yes | Field |
operator | text | Yes | Operator |
value | integer | Yes | Value |
Outputs
| Name | Type | Description |
|---|---|---|
result | array | Result |
matched_count | integer | Matched count |
work | array | Work |
Sample request
{
"items": [
{
"score": 2
},
{
"score": 5
}
],
"field": "score",
"operator": "greater_than",
"value": 3
}