Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/test-dispatcher.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ on:
required: true
```

So you'll have a `test_workflow` tool available with an optional `test_param` input.
So you'll have a `test_workflow` tool available with a required `test_param` input.

## Instructions

1. **Call the MCP tool**: Use the `test_workflow` tool (automatically generated from the workflow name)
2. **Provide inputs (optional)**: The `test_param` input is required
2. **Provide inputs (required)**: The `test_param` input is required
3. **The tool handles everything**: The MCP tool will automatically dispatch the workflow with the correct inputs

## Example Tool Call
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ on:
workflow_dispatch:
inputs:
test_param:
description: 'Test parameter'
description: 'Question from the dispatcher workflow'
type: string
required: false
required: true
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- run: echo "Test workflow"
- run: echo "Test workflow dispatched with param: ${{ inputs.test_param }}"
Loading