{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Updates a code quality setup configuration.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.","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."}},"required":["owner","repo"],"additionalProperties":false},"body":{"$ref":"#/definitions/code-quality-setup-update"}},"required":["path","body"],"additionalProperties":false,"definitions":{"code-quality-setup-update":{"description":"Configuration for code quality setup.","type":"object","properties":{"state":{"description":"The desired state of code quality setup.","type":"string","enum":["configured","not-configured"]},"runner_type":{"description":"Runner type to be used.","type":"string","enum":["standard","labeled"]},"runner_label":{"description":"Runner label to be used if the runner type is labeled.","type":["string","null"],"examples":["code-scanning"]},"languages":{"description":"Languages to be analyzed.","type":"array","items":{"type":"string","enum":["csharp","go","java-kotlin","javascript-typescript","python","ruby"]}},"ai_findings_option":{"description":"Whether AI findings run for Code Quality on this repository.","type":"string","enum":["disabled","on_push"]}},"anyOf":[{"required":["state"]},{"required":["runner_type"]},{"required":["runner_label"]},{"required":["languages"]},{"required":["ai_findings_option"]}],"additionalProperties":false}}},"name":"Update a code quality setup configuration","id":"github.code-quality.update-setup","example":{"path":{"owner":"octocat","repo":"hello-world"},"body":{"state":"configured"}},"maxRequests":1,"summary":false}}