{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Disables a workflow and sets the `state` of the workflow to `disabled_manually`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\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."},"workflow_id":{"oneOf":[{"type":"integer"},{"type":"string"}],"description":"The ID of the workflow. You can also pass the workflow file name as a string."}},"required":["owner","repo","workflow_id"],"additionalProperties":false}},"required":["path"],"additionalProperties":false},"name":"Disable a workflow","id":"github.actions.disable-workflow","example":{"path":{"owner":"octocat","repo":"hello-world","workflow_id":1}},"maxRequests":1,"summary":false}}