JSON Navigation Tools

Precise JSON extraction and navigation tools that let agents surgically access exactly the data they need from complex responses.

JSONPath Query Examples

Basic Path Navigation

$.users[0].email

Get email of first user

Wildcard Selection

$.products[*].price

Get all product prices

Conditional Filtering

$.orders[?(@.status=="pending")].id

Get IDs of pending orders only

Deep Recursive Search

$..email

Find all email fields at any depth

Array Slicing

$.items[0:10]

Get first 10 items

Extraction Tools

nav___json_get_by_path

Extract values using JSONPath expressions

Returns: the matching values

nav___json_get_field

Get a single top-level field

Returns: the field value

nav___json_count

Count elements or JSONPath matches

Returns: { count, path } with a path, or { count, type } without

Navigation Tools

nav___json_list_fields

List the fields and their paths

Returns: field catalog with types

nav___json_slice_array

Slice an array by index

Returns: the selected elements

nav___json_filter_array

Filter an array by condition

Returns: matching elements

Advanced Operations

Projection

// Select several fields at once
{
  "name": "nav___json_project_fields",
  "arguments": {
    "json": "<_ref from the previous response>",
    "path": "$..users",
    "columns": ["name", "email"]
  }
}

Aggregation

// Aggregate a numeric field
{
  "name": "nav___json_aggregate",
  "arguments": {
    "json": "<_ref from the previous response>",
    "field": "amount",
    "agg_func": "sum"
  }
}

Complete Tool Reference

Tool NamePurposeExample
nav___json_get_by_pathExtract values by path$.users[*].id
nav___json_filter_arrayFilter by condition@.age > 18
nav___json_slice_arrayArray slicingstart: 0, end: 5
nav___json_project_fieldsSelect several fieldscolumns=['name', 'email']
nav___json_aggregateCompute aggregatesagg_func='sum', field='price'

Give agents surgical precision

Stop sending entire payloads. Let agents extract exactly what they need.