tool_run_op_build
Build images from a repository using Octopilot's op build command, with multi-platform support and optional registry push.
Instructions
Run op build in the workspace using the official op container.
Docker or Colima must be running. The container image is always pulled before each run so the latest op release is used automatically. Set OP_IMAGE in the MCP server env to pin to a specific version.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| push | No | If True, push images to the registry after building. | |
| registry | Yes | Target registry/org, e.g. "ghcr.io/my-org". | |
| platforms | No | Comma-separated platform list. | linux/amd64 |
| workspace | Yes | Absolute path to the repository root (must contain skaffold.yaml). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||