document_move_operation
Moves an API operation from its current path and HTTP method to a specified new path and method in an OpenAPI or AsyncAPI document.
Instructions
Move an operation from one path/method to another
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>",
"sourcePath": "<sourcePath>",
"sourceMethod": "<sourceMethod>",
"targetPath": "<targetPath>",
"targetMethod": "<targetMethod>"
},
"name": "document_move_operation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | Yes | Session name | |
| sourcePath | Yes | Source API path | |
| targetPath | Yes | Target API path | |
| sourceMethod | Yes | Source HTTP method | |
| targetMethod | Yes | Target HTTP method |