Search and Filter Tools

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.

Filter at the Source

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
    }
  }
}
✓Typed parameters from the input schema
✓Executed by your API, server-side

Sort Stored Results

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"]
    }
  }
}
✓Multi-field sorting
✓Stable sort

Working With Stored Results

Filter

nav___json_filter_array
filter_expr: "@.status == 'active'"

Search

nav___json_search
search_term: "invoice"
max_results: 20

Pattern Match

nav___json_filter_array
filter_expr: "@.email =~ /@example\.com$/"

💡 Pro Tip: Let the API Do the Work

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.

Ready to give agents powerful search?