List GitOps repositories
list_gitops_repositoriesList the repositories a GitHub or Bitbucket Cloud credential can reach for GitOps. Use after list_gitops_credentials to let the user pick a repository for GitOps setup at cluster creation. Returns the provider and each repository's full name and default branch; a Bitbucket Cloud repository also carries workspace and repo_slug, which a create takes as gitops_workspace and gitops_repo_slug.
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": {
"credential_id": "<credential_id>"
},
"name": "list_gitops_repositories"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| credential_id | Yes | UUID of the GitHub or Bitbucket Cloud credential to list repositories for. Get this from list_gitops_credentials. |