run_project_build
Execute a build pipeline from a project's manifest. Provide optional variables to substitute template placeholders at runtime.
Instructions
[BUILD TOOLS] Executes a named build pipeline defined in the project's build manifest (a YAML file registered under docs/builds/ in the artifact store). The manifest defines the sequence of steps (shell commands, artifact writes, tool calls) that run in order.
Optional variables dict injects runtime values into manifest template
placeholders, e.g. {"FEATURE": "Auth"} replaces {{FEATURE}} in step definitions.
Do NOT use this to read or write individual artifacts — call save_project_artifacts or read_project_artifacts instead.
Returns: build result object with status (success | failure), step outputs, and elapsed time. Raises: 404 if build_name does not match any manifest in the project. RuntimeError if any step in the pipeline fails (includes step output).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | Yes | Project name | |
| variables | No | Runtime template variables e.g. {"FEATURE": "Auth"} | |
| build_name | Yes | Manifest name |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |