{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Replaces all repositories for an organization agent variable that is available\nto selected repositories. Organization variables that are available to selected\nrepositories have their `visibility` field set to `selected`.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.","properties":{"path":{"type":"object","properties":{"org":{"type":"string","description":"The organization name. The name is not case sensitive."},"name":{"type":"string","description":"The name of the variable."}},"required":["org","name"],"additionalProperties":false},"body":{"type":"object","properties":{"selected_repository_ids":{"type":"array","description":"The IDs of the repositories that can access the organization variable.","items":{"type":"integer"}}},"required":["selected_repository_ids"],"examples":[{"selected_repository_ids":[64780797]}]}},"required":["path","body"],"additionalProperties":false},"name":"Set selected repositories for an organization variable","id":"github.agents.set-selected-repos-for-org-variable","example":{"path":{"org":"example","name":"example"},"body":{"selected_repository_ids":[64780797]}},"maxRequests":1,"summary":false}}