import_endpoints_from_url
Imports an OpenAPI/Swagger spec from a remote URL into a project, with optional basic auth and folder placement. Use it to add or update API endpoints from an existing spec.
Instructions
Import an OpenAPI/Swagger spec from a remote URL into the project.
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": {
"url": "<url>"
},
"name": "import_endpoints_from_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL pointing to an OpenAPI/Swagger file (JSON or YAML) | |
| password | No | Basic auth password (if the URL requires authentication) | |
| username | No | Basic auth username (if the URL requires authentication) | |
| targetSchemaFolderId | No | Folder ID where imported schemas will be placed | |
| targetEndpointFolderId | No | Folder ID where imported endpoints will be placed | |
| schemaOverwriteBehavior | No | How to handle existing schemas (default: OVERWRITE_EXISTING) | |
| endpointOverwriteBehavior | No | How to handle existing endpoints (default: OVERWRITE_EXISTING) |