document_add_operation
Add a new HTTP operation (GET, POST, etc.) to an existing API path in your OpenAPI or AsyncAPI document.
Instructions
Add a new HTTP operation to an existing path item
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>"
},
"name": "document_add_operation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The API path (e.g. /pets) | |
| method | Yes | HTTP method (get, post, put, delete, patch, options, head) | |
| session | Yes | Session name |