{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Save the repository connection required by build triggers.","properties":{"path":{"type":"object","properties":{"account_id":{"$ref":"#/definitions/builds_account_id"}},"required":["account_id"],"additionalProperties":false},"body":{"$ref":"#/definitions/builds_UpsertRepoConnectionRequest"}},"required":["path","body"],"additionalProperties":false,"definitions":{"builds_account_id":{"description":"Account identifier.","type":"string","examples":["account-123"]},"builds_UpsertRepoConnectionRequest":{"type":"object","properties":{"provider_account_id":{"$ref":"#/definitions/builds_provider_account_id"},"provider_account_name":{"$ref":"#/definitions/builds_provider_account_name"},"provider_type":{"$ref":"#/definitions/builds_SCMProviderType"},"repo_id":{"$ref":"#/definitions/builds_repo_id"},"repo_name":{"$ref":"#/definitions/builds_repo_name"}},"required":["repo_id","repo_name","provider_type","provider_account_id","provider_account_name"]},"builds_provider_account_id":{"description":"Provider-specific identifier of the account or namespace that owns the repository.","type":"string","examples":["cloudflare"]},"builds_provider_account_name":{"description":"Human-readable name of the account or namespace that owns the repository.","type":"string","examples":["Cloudflare"]},"builds_SCMProviderType":{"description":"Source control provider.","type":"string","enum":["github","gitlab","gitlab_internal","origin"],"examples":["github"]},"builds_repo_id":{"description":"Provider-specific repository identifier.","type":"string","examples":["workers-sdk"]},"builds_repo_name":{"description":"Human-readable repository name.","type":"string","examples":["workers-sdk"]}}},"name":"Create or update a repository connection","id":"cloudflare.upsertrepoconnection","example":{"path":{"account_id":"account-123"},"body":{"repo_id":"workers-sdk","repo_name":"workers-sdk","provider_type":"github","provider_account_id":"cloudflare","provider_account_name":"Cloudflare"}},"maxRequests":1,"summary":false}}