enable_repo_for_org
Add a repository to an organization's approved list for the cloud agent, enabling Copilot to access it.
Instructions
Add one repo to the org's selected cloud-agent list.
PUT /orgs/{org}/copilot/coding-agent/permissions/repositories/{repository_id}
Requires admin:org scope.
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": {
"org": "<org>",
"repository_id": "<repository_id>"
},
"name": "enable_repo_for_org"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| org | Yes | ||
| repository_id | Yes |