document_remove_path
Removes a specified path from an OpenAPI or AsyncAPI document, enabling cleanup of unused endpoints.
Instructions
Remove a path item from the document
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>"
},
"name": "document_remove_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The API path to remove (e.g. /pets/{petId}) | |
| session | Yes | Session name |