compare_specs
Compare two OpenAPI specification versions to detect endpoint changes, schema modifications, and breaking changes for API version analysis.
Instructions
Compare two versions of an OpenAPI spec. Detects added/removed/modified endpoints, schema changes, and breaking changes.
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": {
"old_source": "<old_source>",
"new_source": "<new_source>"
},
"name": "compare_specs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| old_source | Yes | Old spec source: URL or file path | |
| new_source | Yes | New spec source: URL or file path | |
| auth_header | No | Authorization header value, e.g. "Bearer eyJ..." or "Basic dXNlcjpwYXNz" | |
| headers | No | Additional HTTP headers as key-value pairs, e.g. {"X-API-Key": "abc123"} |