← Back to tools
View AGENTS.md for GROQ
GROQ
CLI tool for querying JSON and NDJSON with GROQ query language
Description
GROQ CLI is a command-line tool for querying JSON and NDJSON documents using the GROQ query language developed by Sanity.io. It can consume data from local files or piped standard input.
AI Summary
CLI tool for querying JSON and NDJSON documents using the GROQ query language from Sanity.io.
Capabilities
- + Query JSON documents with GROQ syntax
- + Process NDJSON (newline-delimited JSON) files
- + Read data from files or stdin
- + Filter, project, and transform JSON data
Use When
- → User works with Sanity.io and GROQ queries
- → User needs to query JSON/NDJSON data from the CLI
Avoid When
- x User prefers jq for JSON processing
- x User is not familiar with GROQ syntax