create_git_project
Create or reuse a Edgenivo project linked to an accessible Git repository. By default, it creates a preview deployment from the repository's production branch.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
repo | string | Yes | - | Repository as "owner/name", or a repository URL such as https://github.com/owner/name or https://origin.cursor.com/owner/name. |
teamId | string | Yes | - | The team ID or slug. Use the team that owns the resource. |
provider | string | No | - | Git provider to link. Inferred from recognized repository URLs. Otherwise defaults to "github". Use "cursor-origin" for Cursor-hosted repositories at origin.cursor.com. Ignored when the project already exists. Allowed values: "github", "gitlab", "bitbucket", "cursor-origin". |
projectName | string | No | - | Edgenivo project to create or reuse. Defaults to the lowercased repository name. |
rootDirectory | string | No | - | Root-relative directory to build in a monorepo. Only applied when creating the project. |
deploy | boolean | No | true | Whether to create a preview deployment from the linked repository's production branch. Defaults to true. Set false only when the user explicitly requests link-only behavior. |
Sample prompt: "Create a Edgenivo project for my team's GitHub repository and deploy a preview"
Was this helpful?