create_api_doc
Create Confluence API documentation directly from a Swagger/OpenAPI specification. Optionally filter endpoints by tags or paths and set a custom page title or parent page.
Instructions
Create a new API documentation page from a Swagger/OpenAPI specification
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": {
"swaggerSource": "<swaggerSource>",
"spaceKey": "<spaceKey>"
},
"name": "create_api_doc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Optional: custom page title (defaults to API title) | |
| spaceKey | Yes | Target Confluence space key | |
| filterTags | No | Optional: only include endpoints with these tags | |
| filterPaths | No | Optional: only include endpoints matching these path patterns | |
| parentPageId | No | Optional: parent page ID for nesting | |
| swaggerSource | Yes | URL or file path to the Swagger/OpenAPI specification |