product_connect_repo
Connects a repository the GitHub App can see to a Product. Every push to the production branch then builds and deploys, recorded as triggered by the push. Private repositories are cloned with a short-lived token that is never stored.
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": {
"productId": "<productId>",
"installation_id": "<installation_id>",
"repo_id": "<repo_id>"
},
"name": "product_connect_repo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Required for destructive operations. Without it a destructive call returns its plan and refuses, exactly as dry_run would. | |
| dry_run | No | Return the plan without applying it: the resources it would create, change or destroy, and an estimated monthly cost. Free, and has no side effects. Call this before any change you have not made before. | |
| repo_id | Yes | From github_repo_list. | |
| productId | Yes | Product identifier, e.g. prd_7k2m9x4qw1nv8bz3ct6d. | |
| idempotency_key | No | Replaying the same key returns the original result instead of acting twice. Strongly recommended for anything that creates a resource or spends money. | |
| installation_id | Yes | From github_repo_list. | |
| production_branch | No | main |