{"uid":"cap_rIZ37HQeA8Z3e0m8dI1uo","slug":"coco-json-query-tool-e3fa16c2","name":"CoCo JSON Query Tool","description":"Zach Riehn's lab: an about-me and portfolio, a news desk, The Atelier for AI experiments, Launch Lab for XRP research, and Fracture for games.","url":"https://cocoeatsai.com/area4/agent/tools/json-query?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","output"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"const":"http"},"method":{"enum":["GET"]},"queryParams":{"type":"object","properties":{"data":{"type":"string"},"query":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type","example"],"properties":{"type":{"const":"json"},"example":{"type":"object","required":["query","result"]}}}}},"responseSchema":{"type":"json","example":{"query":"name","result":"example"},"exampleNote":"Computed offline with demonstration inputs; time/random values are illustrative."},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_AmsavEstIaD1B-VJt60QR","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Executes a named query against a JSON data payload and returns the extracted result","exampleAgentPrompt":"Query this JSON data for the 'name' field: {\"name\": \"Alice\", \"age\": 30} — run the query 'name' and give me the result.","exampleUseCases":[{"title":"Extract nested field from API response","prompt":"I have this JSON blob from an API: {\"user\":{\"profile\":{\"email\":\"alice@example.com\"}}} — can you run a query for 'user.profile.email' and pull out the value for me?"},{"title":"Filter config value from settings object","prompt":"Here's my app config as JSON: {\"settings\":{\"theme\":\"dark\",\"language\":\"en\"}} — query it for 'settings.theme' so I know what theme is set."},{"title":"Validate presence of a key in payload","prompt":"I got this JSON payload: {\"order\":{\"id\":\"ORD-123\",\"status\":\"shipped\"}} — run a query for 'order.status' and tell me what comes back."}],"resultDescription":"A JSON object containing two fields: 'query' (the query expression that was run) and 'result' (the extracted value from the provided JSON data).","failureModes":["Missing or malformed 'data' query parameter returns an error or empty result","Invalid query expression that doesn't match any key in the JSON returns null or empty result","Malformed JSON in the 'data' parameter causes a parse error","Missing required 'query' parameter results in a bad request response"],"whenToPreferThis":"Use this endpoint when you need to extract a specific value or field from a JSON data structure using a simple named query expression, particularly in lightweight agentic workflows where you want to offload JSON parsing to a remote tool. Suitable for one-off field lookups on small JSON payloads.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T12:44:23.256Z","isFirstParty":false,"canonicalSlug":"coco-json-query-tool-e3fa16c2"}