Whitelist and reshape JSON payloads into lean, AI-ready objects. Keep only the fields that matter for your task.
// Full user object with 50+ fields
{
"id": "usr_123",
"email": "[email protected]",
"name": "Alice Smith",
"created_at": "2023-01-15T...",
"updated_at": "2025-08-01T...",
"last_login": "2025-08-24T...",
"preferences": {...},
"analytics": {...},
"permissions": {...},
"sessions": [...],
"audit_log": [...],
"metadata": {...},
// 40+ more fields...
}AI receives 2,000+ tokens of mostly irrelevant data just to get a user's email and name.
// Extracted fields only
{
"id": "usr_123",
"email": "[email protected]",
"name": "Alice Smith"
}AI receives exactly 15 tokens with precisely the information needed for the task.
Specify exactly which fields to keep from complex objects, with dot notation for nested fields.
// nav___json_project_fields arguments
{
"json": "<_ref>",
"path": "$..users",
"columns": ["id", "email", "profile.name", "settings.notifications"]
}
// Input: an array of complex user records
// Output: one row per user with only the specified fieldsExtract specific fields from arrays of objects, perfect for lists and collections.
// Extract only names and emails from the users array
{
"json": "<_ref>",
"path": "$..users",
"columns": ["name", "email"]
}
// Input: [{id, name, email, ...50 fields}, ...]
// Output: [{name, email}, {name, email}, ...]Extract only contact information from detailed CRM records:
// Extract from 200+ field CRM objects columns: ["id", "email", "company", "deal_value"] // Result: 4 fields instead of 200+
Get essential order details for fulfillment:
// Extract from complex order objects columns: ["order_id", "shipping.address", "total"] // Skip payment, analytics, history
Create lean user profiles for AI personalization:
// Extract key profile data
columns: ["name", "preferences.language",
"subscription.tier", "last_active"]
// Ignore sessions, logs, metadataFilter third-party API responses before AI processing:
// Extract from verbose API responses path: "$.data.results", columns: ["title", "url"] // Skip headers, debug, metadata
Step 1: The Field Extraction Tool
// The tool as your MCP client lists it (tools/list)
{
"name": "nav___json_project_fields",
"description": "Project or select several fields from a cached snapshot array of objects",
"inputSchema": {
"type": "object",
"properties": {
"json": {
"description": "JSON data, or the reference string from a previous '_ref' field"
},
"columns": {
"type": "array",
"items": { "type": "string" },
"description": "Field names to project (dot notation for nested: 'user.email')"
},
"path": { "type": "string" },
"filter_expr": { "type": "string" }
},
"required": ["json", "columns"]
}
}Step 2: Use in Your AI Agent
// 1. Call the API tool; a large response comes back as a reference (_ref)
{ "jsonrpc": "2.0", "id": 1, "method": "tools/call",
"params": { "name": "crm___get_customers", "arguments": { "limit": 100 } } }
// 2. Extract only what you need for the task; path is the collection
// path nav___json_list_fields shows for the reference
{ "jsonrpc": "2.0", "id": 2, "method": "tools/call",
"params": {
"name": "nav___json_project_fields",
"arguments": {
"json": "<_ref from step 1>",
"path": "$.items",
"columns": ["id", "name", "email", "company.name",
"last_purchase.date", "lifetime_value"]
} } }
// AI gets clean, focused data
// 6 fields instead of 150+ per customerStep 3: Process with AI
// The model receives only the projected rows from step 2 // and works on them: "Identify high-value customers for campaign"
Field Extraction is built into MCPify services. Start extracting smarter today.