document_add_path
Add a new path item, such as an API endpoint, to an OpenAPI document by specifying the path and its operations.
Instructions
Add a new path item to an OpenAPI 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_add_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The path string (e.g. /users) | |
| session | Yes | Session name | |
| pathItem | No | JSON string with path item content (operations, etc.) |