repos_create
Create and clone a new Git repository in the Databricks workspace by specifying a remote URL and provider.
Instructions
Create (and clone) a new repo in the workspace.
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": {
"url": "<url>",
"provider": "<provider>"
},
"name": "repos_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Git remote URL | |
| provider | Yes | gitHub | bitbucketCloud | azureDevOpsServices | gitLab | gitHubEnterprise | bitbucketServer | awsCodeCommit | |
| path | No | Workspace path under /Repos/... for the new repo | |
| branch | No | ||
| head_ref | No | ||
| sparse_checkout | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |