Get build environment
get_build_envThe environment contract kad.dev injects into builds and running pods: build-time vars (BUILD_COMMIT full SHA, BUILD_COMMIT_TIME, your build-exposed vars) and runtime vars (BUILD_COMMIT_SHA short SHA, your vars), plus how static vs server frameworks receive them. Pass an optional project_id to fill in concrete example values from that project's canonical commit.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_build_env"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | No | optional project id; when set, concrete example values are filled in from this project's canonical commit |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vars | Yes | ||
| notes | Yes | ||
| project_id | No |