Your API's own search, filter and sort parameters become typed tool inputs, so agents narrow data at the source. Stored results can then be filtered, sorted and searched with the JSON navigation tools.
The filters your API accepts appear in the tool's input schema, so the agent can see them and use them.
{
"method": "tools/call",
"params": {
"name": "products___search",
"arguments": {
"category": "electronics",
"min_price": 100,
"max_price": 500,
"in_stock": true
}
}
}Sort a stored result by one or more fields, with dot notation for nested fields.
{
"method": "tools/call",
"params": {
"name": "nav___json_sort",
"arguments": {
"json": "<_ref from the orders response>",
"keys": ["created_at:desc", "total:desc"]
}
}
}nav___json_filter_array filter_expr: "@.status == 'active'"
nav___json_search search_term: "invoice" max_results: 20
nav___json_filter_array filter_expr: "@.email =~ /@example\.com$/"
Prefer the API's own filters over filtering after the fact. A filtered request returns less data, and the navigation tools then trim what remains.