{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nReplaces the list of selected repositories that are enabled for Copilot cloud\nagent in an organization. This method can only be called when the cloud agent\nrepository policy is set to `selected`.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.","properties":{"path":{"type":"object","properties":{"org":{"type":"string","description":"The organization name. The name is not case sensitive."}},"required":["org"],"additionalProperties":false},"body":{"type":"object","properties":{"selected_repository_ids":{"description":"List of repository IDs to enable for Copilot cloud agent.","type":"array","items":{"type":"integer","description":"Unique identifier of the repository."}}},"required":["selected_repository_ids"],"examples":[{"selected_repository_ids":[32,42]}]}},"required":["path","body"],"additionalProperties":false},"name":"Set selected repositories for Copilot cloud agent in an organization","id":"github.copilot.set-copilot-coding-agent-selected-repositories-for-organization","example":{"path":{"org":"example"},"body":{"selected_repository_ids":[32,42]}},"maxRequests":1,"summary":false}}