document_copy_operation
Copy an API operation from one path and method to another to quickly replicate endpoints.
Instructions
Copy 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_copy_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 |