run_gh
Run allowlisted, read-only GitHub CLI operations to safely query repositories, issues, and pull requests through authenticated local GitHub access.
Instructions
Run an allowlisted, read-only GitHub CLI command. With a resource allowlist, only auth status is available; use typed repository tools for other reads.
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": {
"account": "<account>",
"args": "<args>"
},
"name": "run_gh"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | Yes | ||
| account | Yes | ||
| hostname | No |