Skip to content
Docs

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.

ParameterTypeRequiredDefaultDescription
repostringYes-Repository as "owner/name", or a repository URL such as https://github.com/owner/name or https://origin.cursor.com/owner/name.
teamIdstringYes-The team ID or slug. Use the team that owns the resource.
providerstringNo-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".
projectNamestringNo-Edgenivo project to create or reuse. Defaults to the lowercased repository name.
rootDirectorystringNo-Root-relative directory to build in a monorepo. Only applied when creating the project.
deploybooleanNotrueWhether 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?

supported.