generate_policy_gate_setup
Detects MCP dependencies in a GitHub repository and generates an OIDC-based GitHub Actions workflow to enforce AgentScore Policy Gate, enabling allow/warn/block decisions on PRs. No API key required.
Instructions
Generate the exact GitHub Actions workflow needed to enforce AgentScore Policy Gate for a repo. Detects MCP dependencies locally and returns the OIDC-based YAML needed for setup. No API key or secret is required.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "generate_policy_gate_setup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Optional path to the repo root. Defaults to the current working directory. | |
| repo_url | No | Optional repository URL override for the pilot handoff link. |