{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"You can use this endpoint to trigger a webhook event called `repository_dispatch` when you want activity that happens outside of GitHub to trigger a GitHub Actions workflow or GitHub App webhook. You must configure your GitHub Actions workflow or GitHub App to run when the `repository_dispatch` event occurs. For an example `repository_dispatch` webhook payload, see \"[RepositoryDispatchEvent](https://docs.github.com/webhooks/event-payloads/#repository_dispatch).\"\n\nThe `client_payload` parameter is available for any extra information that your workflow might need. This parameter is a JSON payload that will be passed on when the webhook event is dispatched. For example, the `client_payload` can include a message that a user would like to send using a GitHub Actions workflow. Or the `client_payload` can be used as a test to debug your workflow.\n\nThis input example shows how you can use the `client_payload` as a test to debug your workflow.\n\nOAuth app 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."}},"required":["owner","repo"],"additionalProperties":false},"body":{"type":"object","required":["event_type"],"properties":{"event_type":{"type":"string","description":"A custom webhook event name. Must be 100 characters or fewer.","minLength":1,"maxLength":100},"client_payload":{"type":"object","description":"JSON payload with extra information about the webhook event that your action or workflow may use. The maximum number of top-level properties is 10. The total size of the JSON payload must be less than 64KB.","additionalProperties":true,"maxProperties":10}},"examples":[{"event_type":"on-demand-test","client_payload":{"unit":false,"integration":true}}]}},"required":["path","body"],"additionalProperties":false},"name":"Create a repository dispatch event","id":"github.repos.create-dispatch-event","example":{"path":{"owner":"octocat","repo":"hello-world"},"body":{"event_type":"on-demand-test","client_payload":{"unit":false,"integration":true}}},"maxRequests":1,"summary":false}}