document_add_server
Add a server URL to an OpenAPI or AsyncAPI document, either at the document level or under a specific path or operation.
Instructions
Add a server to the document or to a specific path/operation
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>",
"url": "<url>"
},
"name": "document_add_server"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Server URL (e.g. https://api.example.com/v1) | |
| session | Yes | Session name | |
| nodePath | No | Node path to add the server to (e.g. /paths[/pets]); if omitted, adds to document level | |
| description | No | Server description |