{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"You can use this endpoint to manually trigger a GitHub Actions workflow run. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nYou must configure your GitHub Actions workflow to run when the [`workflow_dispatch` webhook](/developers/webhooks-and-events/webhook-events-and-payloads#workflow_dispatch) event occurs. The `inputs` are configured in the workflow file. For more information about how to configure the `workflow_dispatch` event in the workflow file, see \"[Events that trigger workflows](/actions/reference/events-that-trigger-workflows#workflow_dispatch).\"\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},"body":{"type":"object","properties":{"ref":{"type":"string","description":"The git reference for the workflow. The reference can be a branch or tag name."},"inputs":{"type":"object","description":"Input keys and values configured in the workflow file. The maximum number of properties is 25. Any default properties configured in the workflow file will be used when `inputs` are omitted.","additionalProperties":true,"maxProperties":25},"return_run_details":{"type":"boolean","description":"Whether the response should include the workflow run ID and URLs."}},"required":["ref"],"examples":[{"ref":"topic-branch","inputs":{"name":"Mona the Octocat","home":"San Francisco, CA"}}]}},"required":["path","body"],"additionalProperties":false},"name":"Create a workflow dispatch event","id":"github.actions.create-workflow-dispatch","example":{"path":{"owner":"octocat","repo":"hello-world","workflow_id":1},"body":{"ref":"topic-branch","inputs":{"name":"Mona the Octocat","home":"San Francisco, CA"}}},"maxRequests":1,"summary":false}}