Heal mock endpoint
heal_mock_endpointUpdate an existing mock endpoint's response body, status code, or request schema directly to fix integration failures identified via inspect_failed_requests.
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": {
"workspace": "<workspace>"
},
"name": "heal_mock_endpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| route | No | Path of the endpoint starting with / (used if endpoint_id is omitted). | |
| method | No | HTTP method of the endpoint (used if endpoint_id is omitted). | |
| workspace | Yes | Target workspace slug. | |
| endpoint_id | No | ID of the endpoint to update (optional if method and route are provided). | |
| update_body | No | New response body. | |
| update_schema | No | Updated JSON schema for validation. | |
| update_status | No | New HTTP status. |