Preview Rating Fix
preview_rating_fixShow what the fix of one API rating check would write, per endpoint. A check has a fix when get_spec_rating returns it with a fix field. Requires project context.
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": {
"specId": "<specId>",
"versionId": "<versionId>",
"checkId": "<checkId>"
},
"name": "preview_rating_fix"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| specId | Yes | Public ID (GUID) of the API specification | |
| checkId | Yes | Id of the rating check, as get_spec_rating names it, e.g. 'error-format' | |
| targetIds | No | Public IDs of the endpoints (for 'casing' also schemas) to fix. Omit for all, which 'casing' does not allow. | |
| versionId | Yes | Public ID (GUID) of the version, must not be published |