service_add
Create a Service. Give image to run a container image, or repository to build a GitHub repository. Staged: it runs after the next Deploy. This call asks no human.
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": {
"name": "<name>"
},
"name": "service_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | New Service name, unique in the Environment. | |
| image | No | Container image to run. Give image or repository. | |
| branch | No | Branch to build, only with repository. Default: the repository's default branch. | |
| project | No | Project name. | |
| repository | No | GitHub repository owner/name to build. Give image or repository. | |
| environment | No | Environment name, e.g. staging. | |
| expect_revision | No | Writes only if the place is still at this revision. |