upstream_contracts
Compare declared provider CLI contracts against installed --help output to detect flag drift after upgrades. Run local probes to surface mismatches between expected and actual CLI flags.
Instructions
Return the gateway's declared provider CLI contracts; with probeInstalled true, diff against installed --help surfaces to detect flag drift.
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": "upstream_contracts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cli | No | CLI filter (claude|codex|gemini|grok|mistral|devin|cursor) | |
| probeInstalled | No | When true, run local --help probes and compare advertised flags against the declared contract. Strongly recommended after any provider CLI upgrade to detect drift. |