type: function
function:
name: trigger_github_build
parameters:
type: object
properties:
branch:
type: string
description: The branch to build.
required:
- branch
description: Use this tool whenever the developer asks you to trigger a github build.
exec:
command: gh workflow run build.yml --repo owner/repo --ref $[[branch]]