{"uid":"cap_nMhRC2IyX5fVHbLGMA9zb","slug":"jmespath-json-query-2301afca","name":"JMESPath JSON Query","description":"Query JSON with a JMESPath expression — extract, filter, project, and reshape nested data with the AWS-standard query language. Deterministic JSON extraction.","url":"https://toolbelt402.tpoborne.workers.dev/json/query","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"data":{"description":"Any JSON document"},"query":{"type":"string","description":"JMESPath expression"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_RaQ-VZI2bZJWKenWMIrSU","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Evaluates a JMESPath expression against a JSON document to extract, filter, project, and reshape nested data.","exampleAgentPrompt":"I have this big nested JSON blob from an API response and I want to extract just the list of user emails using the JMESPath expression `users[*].email` — can you run that query against the JSON for me?","exampleUseCases":[{"title":"Extract fields from API response","prompt":"I got this JSON back from the GitHub API and I only want the names and clone URLs of all the repos — run the JMESPath expression `[*].{name: name, url: clone_url}` against this JSON for me."},{"title":"Filter array by condition","prompt":"Here's a JSON list of orders and I need only the ones where status is 'shipped' — apply the JMESPath `orders[?status=='shipped']` to this data."},{"title":"Drill into deeply nested config","prompt":"I have a CloudFormation-style JSON config and I need to pull out all the resource names using `Resources.*.Properties.Name` — can you run that JMESPath query on my JSON?"}],"resultDescription":"Returns the deterministic result of evaluating the JMESPath expression against the input JSON — could be a scalar value, an object, an array of objects, or null if the path matches nothing. The response is itself valid JSON.","failureModes":["Invalid JMESPath syntax returns a parse error describing the malformed expression","JMESPath path that matches nothing returns null or an empty array rather than an error","Malformed input JSON (not valid JSON) returns a parse error","Very deeply nested or extremely large JSON documents may time out or hit payload size limits"],"whenToPreferThis":"Use this endpoint when you need deterministic, standard JMESPath querying against a JSON document without writing custom parsing code. Ideal for AI agents that receive complex API responses and need to reliably extract specific fields, filter arrays, or reshape data according to a known schema. Prefer it over JSONPath alternatives when AWS-compatible JMESPath semantics are required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:44:53.364Z","isFirstParty":false}