gavel_init
Initialize Gavel workspace from a gavel.yaml file. Sets up Bazel aspects, tool dependencies, and .bazelrc includes for code-quality gating.
Instructions
Initialize Gavel in the workspace from an existing gavel.yaml. Installs Bazel aspects, registers tool dependencies in MODULE.bazel, and sets up .bazelrc includes.
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": {
"from": "<from>"
},
"name": "gavel_init"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | Yes | Path to an existing gavel.yaml to use as input | |
| gavelspace | No | Absolute path to a gavelspace directory (omit to use the directory where Claude Code is running) |