Create Service
create_serviceCreate a new service in a Partiri project by specifying deploy type, runtime, source, compute pod, and region. Supports webservice, static, private-service, and worker deployments.
Instructions
Create a new service in a project. Requires exactly one source (repository URL or registry URL), a compute pod, and a region. Get IDs from list_projects, list_pods, and list_regions. Returns the created service with its id. Supported deploy types: webservice, static, private-service, worker (long-running background process with no inbound network — no port, no URL, no health check); for static the runtime is forced to "static" server-side. Environment variables are NOT set here — manage them with the partiri CLI (see use_partiri_cli).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Service name (max 16 characters) | |
| fkPod | Yes | Compute pod UUID (use list_pods to find available pods) | |
| runtime | Yes | Application runtime | |
| fkRegion | Yes | Region UUID (use list_regions to find available regions) | |
| rootPath | Yes | Application root path in the repository | |
| buildPath | No | Build output path | |
| fkProject | Yes | Project UUID to create the service in | |
| deployType | Yes | Deployment type | |
| runCommand | No | Command to start the service | |
| registryUrl | No | Full container image reference (e.g. `ghcr.io/owner/image:tag`). The API splits host, repository, and tag server-side. | |
| buildCommand | No | Build command | |
| repositoryUrl | No | Git repository URL | |
| fkServiceSecret | No | Repository or registry secret UUID. Secrets are managed outside the MCP (dashboard, or run the `partiri` CLI yourself — use_partiri_cli returns guidance); obtain the UUID there. | |
| healthCheckPath | No | Health check endpoint path (GET) | |
| preDeployCommand | No | Command to run before deployment | |
| repositoryBranch | No | Git branch to deploy from |