xlsx_filter
Filters Excel rows by AND-combined column predicates on formula-evaluated values, returning matching row numbers, NDJSON cache handles, or paginated JSON.
Instructions
Use this when you need a row filter with AND-combined predicates (eq/ne/gt/gte/lt/lte/contains/in/is_null/not_null, or criteria: an Excel criterion matched exactly as COUNTIF does) on real, formula-evaluated cell values. output row_numbers returns the matching sheet rows; rows_handle writes the matching rows as NDJSON to a new cache handle; json returns a page in the xlsx_read json shape.
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": {
"file_path": "<file_path>",
"predicates": "<predicates>"
},
"name": "xlsx_filter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max matching rows to return (default 1000). | |
| sheet | No | Sheet name (default: first sheet). | |
| file_path | Yes | Absolute path to the .xlsx file. Pass the path string AS-IS — do NOT read, open, or base64-encode the file; the client handles all file I/O. The base64 surface in this connector is OUTPUT-only (_meta.file_b64). | |
| header_row | No | Header row (1-based). 0 = treat row 1 as data, no header. | |
| predicates | Yes | AND-combined filter predicates. Each: { column, op, value } where op is eq/ne/gt/gte/lt/lte/contains/not_contains/in/not_in/is_null/not_null. |