document_remove_response
Remove a specific HTTP response from an API operation using status code. Helps clean up OpenAPI documents by deleting unwanted responses.
Instructions
Remove a response from an operation by status code
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": {
"session": "<session>",
"path": "<path>",
"method": "<method>",
"statusCode": "<statusCode>"
},
"name": "document_remove_response"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The API path (e.g. /pets) | |
| method | Yes | HTTP method (get, post, put, etc.) | |
| session | Yes | Session name | |
| statusCode | Yes | HTTP status code to remove (e.g. 200, 404, default) |