explain_build_file
Retrieves BUILD file contents from a Bazel workspace for analysis by an LLM, using a path relative to the workspace root.
Instructions
Return BUILD file contents for analysis by the host LLM.
path is relative to the workspace root (e.g. foo/bar/BUILD or foo/bar).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "explain_build_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |