Create service
render_create_serviceCreates a new Render service in a workspace with specified name, type, and configuration, including repository, branch, environment variables, and service details.
Instructions
Create service. Creates a new Render service in the specified workspace with the specified configuration. Calls POST /services on the Render Public API.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The service's name. Must be unique within the workspace. | |
| repo | No | The service's repository URL. Do not specify a branch in this string (use the `branch` parameter instead). | |
| type | Yes | ||
| image | No | ||
| branch | No | The repo branch to pull, build, and deploy. If omitted, uses the repository's default branch. | |
| envVars | No | ||
| ownerId | Yes | The ID of the workspace the service belongs to. Obtain your workspace's ID from its Settings page in the Render Dashboard. | |
| rootDir | No | ||
| autoDeploy | No | yes | |
| buildFilter | No | ||
| secretFiles | No | ||
| environmentId | No | The ID of the environment the service belongs to, if any. Obtain an environment's ID from its Settings page in the Render Dashboard. | |
| serviceDetails | No |