Compare consumer and producer types
get_contract_pairPut one consumer and one producer side by side, operation by operation: the producer's request and response types, every consumer call site with the type that call site expects, and the type verdict the scan stored, with its scanner version. Call it when you are about to change a shape and need to know what the other side already believes it is, or when a compatibility verdict names a problem you cannot place. It reports what the index holds and adds no verdict of its own. It shows HTTP operations side by side, and only the operations a consumer call wins onto; for GraphQL, socket and pub/sub pairs, check_compatibility carries the stored verdicts. For the producer's types alone, use get_endpoint_types; for which calls match at all and which do not, use check_compatibility. Reference: https://docs.carrick.tools/mcp-tools
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Narrow to one route path as indexed (e.g. /api/users/:id). A `{field=value}` dispatch suffix, as the listings print it, narrows to that case. | |
| repo | No | Your repo as owner/repo (git remote) or just the repo name. Resolves which Carrick project to query. | |
| limit | No | Operations per page (default 10, max 50). Ranked by consumer call-site count, then by untyped sides. | |
| method | No | Narrow to one HTTP method (GET, POST, PUT, DELETE). | |
| offset | No | Operations to skip (default 0). Pass the `next_offset` from a previous call to page through. | |
| project | No | Carrick project slug to query. Omit to auto-resolve via `repo`, or omit both when the workspace has one project. | |
| consumer_service | Yes | The service making the calls | |
| producer_service | Yes | The service serving the operations |