Create a CCR image build
sco_ccr_build_createBuilds a remote container image from a local Dockerfile or HTTPS tarball in a CCR namespace; supports dry-run preview and requires confirmation.
Instructions
Trigger a remote image build from a local Dockerfile (sco ccr builds create). Requires confirm: true. The context may be a local directory or an https tarball. Needs a ccr component that ships builds (absent on sco-ccr v1.2.0 — check sco_capabilities first).
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": {
"namespace": "<namespace>",
"dockerfile": "<dockerfile>",
"tag": "<tag>"
},
"name": "sco_ccr_build_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | Yes | Resulting image reference, name:tag (-t) | |
| dryRun | No | Return the exact command line without executing it. | |
| confirm | No | Must be true to actually execute a mutating command. When omitted or false the tool refuses and shows the command it would have run. | |
| context | No | Build context: local path or https tarball URL (-c) | |
| namespace | Yes | CCR namespace (CLI flag -n) | |
| dockerfile | Yes | Path to the Dockerfile (-f) |