Execute GitHub Action
github_execute_actionExecute any supported GitHub action by name with parameters, requiring the exact action name and argument dictionary. Output is token-optimized Markdown; mutating actions are blocked in read-only mode.
Instructions
Execute any supported GitHub action from the 83-action catalog by action name with parameters. Requires the exact action name (discovered via github_find_actions) and its corresponding argument dictionary. Output is automatically compressed with strict token projection filters (stripping hypermedia URL templates, avatar links, empty fields, node_ids) and formatted as compact Markdown by default. Mutating actions are blocked when running in read-only mode (GITHUB_READ_ONLY=true).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>",
"format": "<format>"
},
"name": "github_execute_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Exact name of the GitHub action to execute (e.g. 'create_pull_request', 'list_issues', 'trigger_workflow', 'create_branch') | |
| format | Yes | Output format: 'markdown' (default, token-optimized compact table/text for LLM) or 'json' (structured JSON) | markdown |
| params | No | Parameters dictionary for the action matching its parameter schema | |
| parameters | No | Alias for params (for cross-client compatibility) |