{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Adds custom labels to a self-hosted runner configured in a repository.\n\nAuthenticated users must have admin access to the organization to use this endpoint.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.","properties":{"path":{"type":"object","properties":{"owner":{"type":"string","description":"The account owner of the repository. The name is not case sensitive."},"repo":{"type":"string","description":"The name of the repository without the `.git` extension. The name is not case sensitive."},"runner_id":{"type":"integer","description":"Unique identifier of the self-hosted runner."}},"required":["owner","repo","runner_id"],"additionalProperties":false},"body":{"type":"object","required":["labels"],"properties":{"labels":{"type":"array","minItems":1,"maxItems":100,"description":"The names of the custom labels to add to the runner.","items":{"type":"string"}}},"examples":[{"labels":["gpu","accelerated"]}]}},"required":["path","body"],"additionalProperties":false},"name":"Add custom labels to a self-hosted runner for a repository","id":"github.actions.add-custom-labels-to-self-hosted-runner-for-repo","example":{"path":{"owner":"octocat","repo":"hello-world","runner_id":1},"body":{"labels":["gpu","accelerated"]}},"maxRequests":1,"summary":false}}