update_api_doc
Update an existing Confluence API documentation page by supplying a new Swagger/OpenAPI spec, with optional endpoint filters to control which paths and tags appear.
Instructions
Update an existing API documentation page with new Swagger/OpenAPI spec
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": {
"pageId": "<pageId>",
"swaggerSource": "<swaggerSource>"
},
"name": "update_api_doc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | Yes | Existing Confluence page ID to update | |
| filterTags | No | Optional: only include endpoints with these tags | |
| filterPaths | No | Optional: only include endpoints matching these path patterns | |
| swaggerSource | Yes | URL or file path to the Swagger/OpenAPI specification |