disable_repo_for_org
Remove a repository from an organization's cloud-agent permissions list to restrict Copilot access.
Instructions
Remove one repo from the org's selected cloud-agent list.
DELETE /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": "disable_repo_for_org"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| org | Yes | ||
| repository_id | Yes |