bazel_query
Execute arbitrary Bazel queries to retrieve dependency information and build graph data. Supports multiple output formats such as label, build, xml, and graph.
Instructions
Run an arbitrary Bazel query expression.
Query is read-only but can be expensive on broad patterns like //... output_format: label, build, xml, package, location, graph, etc.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| output_format | No | label |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |