atmon docs

REFERENCE/TOOLKITS/CONFLUENCE.MD

Confluence

Team wiki. Create, read, and update pages and their children, attach files, comment, label, and search across a whole site.

PropertyValue
Slugconfluence
Definition version0.1.0
Base URLhttps://api.atlassian.com
Auth schemesoauth2
Action tools30
By class16 read, 12 write, 2 destructive
Triggers0
Provider rate limitnot declared, so outbound calls are unpaced

Measured routing accuracy

42 golden cases replayed through the router over the whole index: measured over corpus ea4f12ad2948 (65 toolkits, 2283 tools indexed and 13 declared uncallable), 30 cases written by hand and 12 cases from the paraphrase pass. A case counts as top-1 when its gold tool ranked first and top-8 when it reached the slate at all.

MeasureCasesShare
top-118/4242.9%
top-836/4285.7%

The sweep is offline: the reranker is a deterministic identity fake that returns candidates in the order retrieval produced them, so top-1 measures retrieval order rather than a reranked slate. just eval-live measures the same cases through the live reranker.

Authentication

Connect an entity with ConnectionsService.InitiateConnection, naming this toolkit's slug. Credentials stay in the connections vault; callers hold connected-account ids only.

oauth2

PropertyValue
Authorization URLhttps://auth.atlassian.com/authorize
Token URLhttps://auth.atlassian.com/oauth/token
Default scopesread:confluence-content.all, write:confluence-content, read:confluence-space.summary, write:confluence-space, read:confluence-user, search:confluence, offline_access
Refresh tokensyes, the refresh daemon renews ahead of expiry

Tools

30 action tools. The catalog-wide slug is confluence.<tool>, which is what search_tools returns and call_tool takes.

confluence.list_spaces

List or browse the spaces (wikis) on a Confluence site, optionally filtered by key or type. Use when the user asks what spaces exist or wants to find a space's id. For one already-known space use get_space.

Class read (reads only). No scopes beyond the connection's defaults. Calls GET /ex/confluence/{{params.cloud_id}}/wiki/api/v2/spaces.

Arguments:

ArgumentTypeRequiredNotes
cloud_idstringyesAtlassian Cloud id of the connected Confluence site.
cursorstringnoCursor from a previous response's _links.next, for the next page.
keysstringnoComma-separated space keys to filter to, e.g. "ENG,MKT". Omit to list all.
limitintegernoPage size, default 25.
statusstring, one of current, archivednoRestrict to current or archived spaces. Defaults to current.
typestring, one of global, personalnoRestrict to global (team) or personal spaces. Omit for both.

Result fields (the payload is trimmed to these before it reaches the model):

FieldTypeNotes
_linksobject
_links.nextstring
resultsarray of object
results[].homepageIdstring
results[].idstring
results[].keystring
results[].namestring
results[].statusstring
results[].typestring

Also retrieved by: "what wikis do we have", "show me every team workspace", "which confluence areas exist", "browse the available wikis".

confluence.get_space

Get one Confluence space's (wiki's) detail by id: key, name, type, and its homepage id. Use when the user names a specific space. For the whole list use list_spaces.

Class read (reads only). No scopes beyond the connection's defaults. Calls GET /ex/confluence/{{params.cloud_id}}/wiki/api/v2/spaces/{{params.space_id}}.

Arguments:

ArgumentTypeRequiredNotes
cloud_idstringyesAtlassian Cloud id of the connected Confluence site.
space_idstringyesConfluence space id, from list_spaces.

Result fields (the payload is trimmed to these before it reaches the model):

FieldTypeNotes
homepageIdstring
idstring
keystring
namestring
statusstring
typestring

Also retrieved by: "tell me about this workspace", "pull up the engineering wiki area", "what's this team's home base".

confluence.create_space

Create a new Confluence space (wiki) with a unique key and name. Use when the user wants to start, set up, or spin up a new team space, not a page inside one. For a page use create_page instead.

Class write (writes, no confirmation needed). No scopes beyond the connection's defaults. Calls POST /ex/confluence/{{params.cloud_id}}/wiki/api/v2/spaces.

Arguments:

ArgumentTypeRequiredNotes
cloud_idstringyesAtlassian Cloud id of the connected Confluence site.
descriptionobjectnoOptional space description, e.g. {"value": "Engineering docs", "representation": "plain"}. Omit for no description.
description.representationstring, one of plain, viewno
description.valuestringno
keystringyesUnique space key, e.g. "ENG". Uppercase letters and digits.
namestringyesSpace display name.

Result fields (the payload is trimmed to these before it reaches the model):

FieldTypeNotes
idstring
keystring
namestring
statusstring

Also retrieved by: "stand up a fresh wiki for the team", "I need somewhere new to keep docs", "open a workspace for this project", "set up a home for our notes".

confluence.update_space

Rename a Confluence space or edit its description. Use when the user wants to edit or update a space's own details, not the pages inside it.

Class write (writes, no confirmation needed). No scopes beyond the connection's defaults. Calls PUT /ex/confluence/{{params.cloud_id}}/wiki/api/v2/spaces/{{params.space_id}}.

Arguments:

ArgumentTypeRequiredNotes
cloud_idstringyesAtlassian Cloud id of the connected Confluence site.
descriptionobjectnoNew space description, e.g. {"value": "Engineering docs", "representation": "plain"}. Omit to leave unchanged.
description.representationstring, one of plain, viewno
description.valuestringno
namestringnoNew space display name. Omit to leave unchanged.
space_idstringyesConfluence space id to edit, from list_spaces.

Result fields (the payload is trimmed to these before it reaches the model):

FieldTypeNotes
idstring
keystring
namestring

Also retrieved by: "rename our team's wiki area", "fix the blurb on our workspace", "change what this wiki is called".

confluence.create_page

Create a new Confluence page in a space, optionally under a parent page. Use when the user wants to write, add, or start a new wiki page or doc. Pass parent_id to make it a child page under an existing one; omit it for a top-level page in the space.

Class write (writes, no confirmation needed). No scopes beyond the connection's defaults. Calls POST /ex/confluence/{{params.cloud_id}}/wiki/api/v2/pages.

Arguments:

ArgumentTypeRequiredNotes
body_valuestringyesPage content in Confluence storage format (XHTML-based markup), e.g. "<p>Hello world</p>".
cloud_idstringyesAtlassian Cloud id of the connected Confluence site.
parent_idstringnoId of the page this becomes a child of. Omit for a top-level page in the space.
space_idstringyesConfluence space id the page belongs to, from list_spaces.
statusstring, one of current, draftnoPublish immediately (current) or save as a draft. Defaults to current.
titlestringyesPage title.

Result fields (the payload is trimmed to these before it reaches the model):

FieldTypeNotes
_linksobject
_links.webuistring
idstring
parentIdstring
spaceIdstring
statusstring
titlestring
versionobject
version.numberinteger

Also retrieved by: "write up a new doc", "jot down some notes on the wiki", "start a fresh article under this section", "draft something for the team to read".

confluence.get_page

Get one Confluence wiki page's detail and content by id: title, space, parent, current body, and version number. Use when the user asks to read, open, or pull up a specific Confluence page by its id. For a page found only by title use search_pages_by_title first.

Class read (reads only). No scopes beyond the connection's defaults. Calls GET /ex/confluence/{{params.cloud_id}}/wiki/api/v2/pages/{{params.page_id}}.

Arguments:

ArgumentTypeRequiredNotes
body_formatstring, one of storage, atlas_doc_format, viewnoRepresentation to return the body in. Defaults to storage.
cloud_idstringyesAtlassian Cloud id of the connected Confluence site.
page_idstringyesConfluence page id.

Result fields (the payload is trimmed to these before it reaches the model):

FieldTypeNotes
_linksobject
_links.webuistring
authorIdstring
bodyobject
body.storageobject
body.storage.valuestring
createdAtstring (date-time)
idstring
parentIdstring
spaceIdstring
statusstring
titlestring
versionobject
version.createdAtstring (date-time)
version.messagestring
version.numberinteger

Also retrieved by: "pull up that doc", "show me what's written on this article", "open the wiki entry for this", "read what's on that write-up", "what's on that confluence page".

confluence.update_page

Edit an existing Confluence wiki page's title or content, or move it under a different parent. Use when the user wants to change, edit, rewrite, or retitle a Confluence page. Requires the page's current version number, from get_page, incremented by one.

Class write (writes, no confirmation needed). No scopes beyond the connection's defaults. Calls PUT /ex/confluence/{{params.cloud_id}}/wiki/api/v2/pages/{{params.page_id}}.

Arguments:

ArgumentTypeRequiredNotes
body_valuestringyesNew page content in Confluence storage format (XHTML-based markup), replacing the whole body.
cloud_idstringyesAtlassian Cloud id of the connected Confluence site.
page_idstringyesConfluence page id to edit.
parent_idstringnoNew parent page id, to move this page. Omit to leave it where it is.
statusstring, one of current, draftnoDefaults to current.
titlestringyesNew (or unchanged) page title.
version_numberintegeryesNew version number. Must be exactly one greater than the page's current version.number, from get_page.

Result fields (the payload is trimmed to these before it reaches the model):

FieldTypeNotes
idstring
titlestring
versionobject
version.numberinteger

Also retrieved by: "fix the wording on this doc", "rewrite this article", "I need to correct what's written here", "refresh the content on this write-up", "edit that confluence page".

confluence.delete_page

Delete a Confluence page. Use when the user wants to delete, remove, or trash a page. By default it moves to the space's trash and can be restored there; pass purge true to permanently delete it right away. Irreversible once purged.

Class destructive (held by the mutation gate until the call's own arguments carry "confirm": true). No scopes beyond the connection's defaults. Calls DELETE /ex/confluence/{{params.cloud_id}}/wiki/api/v2/pages/{{params.page_id}}.

Arguments:

ArgumentTypeRequiredNotes
cloud_idstringyesAtlassian Cloud id of the connected Confluence site.
page_idstringyesConfluence page id to delete.
purgebooleannoSkip the trash and permanently delete right away. Default false.

Result fields (the payload is trimmed to these before it reaches the model):

FieldTypeNotes
deletedboolean

Also retrieved by: "get rid of this doc for good", "trash that write-up", "throw this article away", "I don't need this page anymore".

confluence.list_pages_in_space

List the pages in one Confluence space, optionally filtered by status. Use when the user asks what pages exist in a space or wants to browse its contents. For a page's child pages specifically, use list_child_pages.

Class read (reads only). No scopes beyond the connection's defaults. Calls GET /ex/confluence/{{params.cloud_id}}/wiki/api/v2/spaces/{{params.space_id}}/pages.

Arguments:

ArgumentTypeRequiredNotes
cloud_idstringyesAtlassian Cloud id of the connected Confluence site.
cursorstringnoCursor from a previous response's _links.next, for the next page.
limitintegernoPage size, default 25.
space_idstringyesConfluence space id, from list_spaces.
statusstring, one of current, archived, draft, trashednoRestrict to pages in this status. Defaults to current.

Result fields (the payload is trimmed to these before it reaches the model):

FieldTypeNotes
_linksobject
_links.nextstring
resultsarray of object
results[].authorIdstring
results[].createdAtstring (date-time)
results[].idstring
results[].parentIdstring
results[].statusstring
results[].titlestring

Also retrieved by: "what's written in this workspace", "show me everything under this wiki area", "browse the docs in this team space".

confluence.search_pages_by_title

Find Confluence pages across a site (or one space) by exact title. Use when the user names a page but you only have its title, not its id. For fuzzy keyword or full-text search use search_content instead.

Class read (reads only). No scopes beyond the connection's defaults. Calls GET /ex/confluence/{{params.cloud_id}}/wiki/api/v2/pages.

Arguments:

ArgumentTypeRequiredNotes
cloud_idstringyesAtlassian Cloud id of the connected Confluence site.
cursorstringnoCursor from a previous response's _links.next, for the next page.
limitintegernoPage size, default 25.
space_idstringnoRestrict the search to this space id. Omit to search the whole site.
titlestringyesExact page title to match.

Result fields (the payload is trimmed to these before it reaches the model):

FieldTypeNotes
_linksobject
_links.nextstring
resultsarray of object
results[].idstring
results[].spaceIdstring
results[].statusstring
results[].titlestring

Also retrieved by: "find the doc called onboarding guide", "I know the name but not where it lives", "look up an article by its exact heading".

confluence.list_child_pages

List the direct child pages nested under a Confluence page. Use when the user asks what sub-pages, nested pages, or children a page has. For every page in the whole space use list_pages_in_space.

Class read (reads only). No scopes beyond the connection's defaults. Calls GET /ex/confluence/{{params.cloud_id}}/wiki/api/v2/pages/{{params.page_id}}/children.

Arguments:

ArgumentTypeRequiredNotes
cloud_idstringyesAtlassian Cloud id of the connected Confluence site.
cursorstringnoCursor from a previous response's _links.next, for the next page.
limitintegernoPage size, default 25.
page_idstringyesConfluence parent page id.

Result fields (the payload is trimmed to these before it reaches the model):

FieldTypeNotes
_linksobject
_links.nextstring
resultsarray of object
results[].idstring
results[].parentIdstring
results[].statusstring
results[].titlestring

Also retrieved by: "what's nested under this doc", "show me the sub-sections of this article", "what write-ups branch off this one".

confluence.list_attachments

List the files attached to a Confluence page: images, PDFs, spreadsheets, and other uploads. Use when the user asks what's attached to a page or wants to find an attachment by filename.

Class read (reads only). No scopes beyond the connection's defaults. Calls GET /ex/confluence/{{params.cloud_id}}/wiki/api/v2/pages/{{params.page_id}}/attachments.

Arguments:

ArgumentTypeRequiredNotes
cloud_idstringyesAtlassian Cloud id of the connected Confluence site.
cursorstringnoCursor from a previous response's _links.next, for the next page.
filenamestringnoFilter to attachments matching this exact filename.
limitintegernoPage size, default 25.
media_typestringnoFilter to attachments of this MIME type, e.g. "image/png".
page_idstringyesConfluence page id.

Result fields (the payload is trimmed to these before it reaches the model):

FieldTypeNotes
_linksobject
_links.nextstring
resultsarray of object
results[].downloadLinkstring
results[].fileSizeinteger
results[].idstring
results[].mediaTypestring
results[].titlestring
results[].webuiLinkstring

Also retrieved by: "what files are stuck to this doc", "show me the uploads on this article", "what's been dropped onto this write-up".

confluence.get_attachment

Get one Confluence attachment's detail by id: filename, media type, size, and download link. Use when the user names a specific attached file rather than browsing a page's whole attachment list.

Class read (reads only). No scopes beyond the connection's defaults. Calls GET /ex/confluence/{{params.cloud_id}}/wiki/api/v2/attachments/{{params.attachment_id}}.

Arguments:

ArgumentTypeRequiredNotes
attachment_idstringyesConfluence attachment id, from list_attachments.
cloud_idstringyesAtlassian Cloud id of the connected Confluence site.

Result fields (the payload is trimmed to these before it reaches the model):

FieldTypeNotes
downloadLinkstring
fileSizeinteger
idstring
mediaTypestring
titlestring
versionobject
version.numberinteger
webuiLinkstring

Also retrieved by: "grab the details on that uploaded file", "where can I download this attached image", "info on the pdf someone put on the page".

confluence.upload_attachment

Attach a new file to a Confluence page. Use when the user wants to add, upload, or attach a file, image, or document to a page. Content is binary data, base64-encoded. To replace an existing attachment's content, use update_attachment_data instead.

Class write (writes, no confirmation needed). No scopes beyond the connection's defaults. Calls POST /ex/confluence/{{params.cloud_id}}/wiki/rest/api/content/{{params.page_id}}/child/attachment.

Arguments:

ArgumentTypeRequiredNotes
cloud_idstringyesAtlassian Cloud id of the connected Confluence site.
commentstringnoOptional short comment describing the attachment.
contentstringyesFile content, base64-encoded.
filenamestringyesFile name including extension, e.g. "roadmap.pdf".
page_idstringyesConfluence page id to attach the file to.

Result fields (the payload is trimmed to these before it reaches the model):

FieldTypeNotes
resultsarray of object
results[].extensionsobject
results[].extensions.fileSizeinteger
results[].extensions.mediaTypestring
results[].idstring
results[].titlestring

Also retrieved by: "stick this file onto the doc", "drop an image into the article", "add this pdf to the write-up".

confluence.update_attachment_data

Replace an existing Confluence attachment's binary content, keeping its filename and id. Use when the user wants to overwrite, update, or upload a new version of a file already attached to a page. Content is binary data, base64-encoded.

Class write (writes, no confirmation needed). No scopes beyond the connection's defaults. Calls POST /ex/confluence/{{params.cloud_id}}/wiki/rest/api/content/{{params.page_id}}/child/attachment/{{params.attachment_id}}/data.

Arguments:

ArgumentTypeRequiredNotes
attachment_idstringyesConfluence attachment id to replace, from list_attachments.
cloud_idstringyesAtlassian Cloud id of the connected Confluence site.
commentstringnoOptional short comment describing the new version.
contentstringyesNew file content, base64-encoded.
page_idstringyesConfluence page id the attachment belongs to.

Result fields (the payload is trimmed to these before it reaches the model):

FieldTypeNotes
extensionsobject
extensions.fileSizeinteger
idstring
titlestring

Also retrieved by: "swap in a newer version of this file", "replace what's attached with the latest copy", "overwrite that uploaded document".

confluence.delete_attachment

Permanently delete a file attached to a Confluence page. Use when the user wants to delete, remove, or get rid of an attached file, not the whole page. Irreversible.

Class destructive (held by the mutation gate until the call's own arguments carry "confirm": true). No scopes beyond the connection's defaults. Calls DELETE /ex/confluence/{{params.cloud_id}}/wiki/api/v2/attachments/{{params.attachment_id}}.

Arguments:

ArgumentTypeRequiredNotes
attachment_idstringyesConfluence attachment id to delete, from list_attachments.
cloud_idstringyesAtlassian Cloud id of the connected Confluence site.
purgebooleannoSkip the trash and permanently delete right away. Default false.

Result fields (the payload is trimmed to these before it reaches the model):

FieldTypeNotes
deletedboolean

Also retrieved by: "remove this file from the doc", "get rid of the attached image", "I want that upload gone for good".

List the footer comments on a Confluence page: the discussion thread at the bottom of the page, oldest first. Use when the user wants to read the general discussion on a page. For comments anchored to a specific highlighted bit of text, use list_inline_comments.

Class read (reads only). No scopes beyond the connection's defaults. Calls GET /ex/confluence/{{params.cloud_id}}/wiki/api/v2/pages/{{params.page_id}}/footer-comments.

Arguments:

ArgumentTypeRequiredNotes
cloud_idstringyesAtlassian Cloud id of the connected Confluence site.
cursorstringnoCursor from a previous response's _links.next, for the next page.
limitintegernoPage size, default 25.
page_idstringyesConfluence page id.

Result fields (the payload is trimmed to these before it reaches the model):

FieldTypeNotes
_linksobject
_links.nextstring
resultsarray of object
results[].authorIdstring
results[].bodyobject
results[].body.storageobject
results[].createdAtstring (date-time)
results[].idstring
results[].statusstring

Also retrieved by: "what did people say at the bottom of this doc", "read the general discussion on this article", "show me the thread under this write-up".

Post a footer comment on a Confluence page, or reply to one already there. Use when the user wants to comment, reply, or leave general feedback on a page. For a comment anchored to specific text, use create_inline_comment instead.

Class write (writes, no confirmation needed). No scopes beyond the connection's defaults. Calls POST /ex/confluence/{{params.cloud_id}}/wiki/api/v2/footer-comments.

Arguments:

ArgumentTypeRequiredNotes
body_valuestringyesComment text in Confluence storage format (XHTML-based markup).
cloud_idstringyesAtlassian Cloud id of the connected Confluence site.
page_idstringyesConfluence page id to comment on.
parent_comment_idstringnoComment id to reply to. Omit to start a new thread.

Result fields (the payload is trimmed to these before it reaches the model):

FieldTypeNotes
createdAtstring (date-time)
idstring
statusstring

Also retrieved by: "leave a note at the bottom of this doc", "chime in on the discussion for this article", "reply to the thread on this write-up".

confluence.list_inline_comments

List the inline comments on a Confluence page: comments anchored to a specific highlighted selection of text, oldest first. Use when the user wants feedback tied to a particular passage. For the page's general discussion thread, use list_footer_comments.

Class read (reads only). No scopes beyond the connection's defaults. Calls GET /ex/confluence/{{params.cloud_id}}/wiki/api/v2/pages/{{params.page_id}}/inline-comments.

Arguments:

ArgumentTypeRequiredNotes
cloud_idstringyesAtlassian Cloud id of the connected Confluence site.
cursorstringnoCursor from a previous response's _links.next, for the next page.
limitintegernoPage size, default 25.
page_idstringyesConfluence page id.

Result fields (the payload is trimmed to these before it reaches the model):

FieldTypeNotes
_linksobject
_links.nextstring
resultsarray of object
results[].authorIdstring
results[].bodyobject
results[].body.storageobject
results[].createdAtstring (date-time)
results[].idstring
results[].statusstring

Also retrieved by: "what feedback is anchored to that paragraph", "who highlighted and commented on this passage", "show me the annotations on this text".

confluence.create_inline_comment

Post a comment anchored to a specific highlighted selection of text on a Confluence page. Use when the user wants to comment on, flag, or react to one particular passage rather than the page as a whole. For a general comment use create_footer_comment instead.

Class write (writes, no confirmation needed). No scopes beyond the connection's defaults. Calls POST /ex/confluence/{{params.cloud_id}}/wiki/api/v2/inline-comments.

Arguments:

ArgumentTypeRequiredNotes
body_valuestringyesComment text in Confluence storage format (XHTML-based markup).
cloud_idstringyesAtlassian Cloud id of the connected Confluence site.
page_idstringyesConfluence page id to comment on.
text_selectionstringyesThe exact page text this comment is anchored to.

Result fields (the payload is trimmed to these before it reaches the model):

FieldTypeNotes
createdAtstring (date-time)
idstring
statusstring

Also retrieved by: "flag this specific sentence with a note", "react to just this highlighted bit", "annotate that particular passage".

confluence.get_comment

Get one Confluence comment's detail by id, footer or inline: its author, text, and version. Use when the user asks about one specific comment rather than a page's whole thread.

Class read (reads only). No scopes beyond the connection's defaults. Calls GET /ex/confluence/{{params.cloud_id}}/wiki/api/v2/comments/{{params.comment_id}}.

Arguments:

ArgumentTypeRequiredNotes
cloud_idstringyesAtlassian Cloud id of the connected Confluence site.
comment_idstringyesConfluence comment id, from list_footer_comments or list_inline_comments.

Result fields (the payload is trimmed to these before it reaches the model):

FieldTypeNotes
authorIdstring
bodyobject
body.storageobject
body.storage.valuestring
createdAtstring (date-time)
idstring
pageIdstring
statusstring
versionobject
version.numberinteger

Also retrieved by: "pull up what exactly someone wrote there", "show me the details on that one remark", "what did that single reply actually say".

confluence.update_comment

Edit the text of a Confluence comment already posted, footer or inline. Use when the user wants to fix, correct, or update something they or someone else wrote in a comment. Requires the comment's current version number, from get_comment, incremented by one.

Class write (writes, no confirmation needed). No scopes beyond the connection's defaults. Calls PUT /ex/confluence/{{params.cloud_id}}/wiki/api/v2/comments/{{params.comment_id}}.

Arguments:

ArgumentTypeRequiredNotes
body_valuestringyesReplacement comment text in Confluence storage format.
cloud_idstringyesAtlassian Cloud id of the connected Confluence site.
comment_idstringyesConfluence comment id to edit.
version_numberintegeryesNew version number. Must be exactly one greater than the comment's current version.number, from get_comment.

Result fields (the payload is trimmed to these before it reaches the model):

FieldTypeNotes
idstring
versionobject
version.numberinteger

Also retrieved by: "fix a typo in what I wrote earlier", "correct my earlier remark", "edit that note I left".

confluence.delete_comment

Remove a comment from a Confluence page, footer or inline. Use when the user wants to delete or remove a comment, not the whole page. For deleting the page itself use delete_page.

Class write (writes, no confirmation needed). No scopes beyond the connection's defaults. Calls DELETE /ex/confluence/{{params.cloud_id}}/wiki/api/v2/comments/{{params.comment_id}}.

Arguments:

ArgumentTypeRequiredNotes
cloud_idstringyesAtlassian Cloud id of the connected Confluence site.
comment_idstringyesConfluence comment id to delete.

Result fields (the payload is trimmed to these before it reaches the model):

FieldTypeNotes
deletedboolean

Also retrieved by: "take down that remark", "erase what I said there", "pull that note off the doc".

confluence.list_page_labels

List the labels (tags) applied to a Confluence page. Use when the user asks what a page is tagged with. To add or remove a label use add_label or remove_label.

Class read (reads only). No scopes beyond the connection's defaults. Calls GET /ex/confluence/{{params.cloud_id}}/wiki/api/v2/pages/{{params.page_id}}/labels.

Arguments:

ArgumentTypeRequiredNotes
cloud_idstringyesAtlassian Cloud id of the connected Confluence site.
cursorstringnoCursor from a previous response's _links.next, for the next page.
limitintegernoPage size, default 25.
page_idstringyesConfluence page id.
prefixstring, one of global, my, teamnoRestrict to labels of this namespace. Omit for all.

Result fields (the payload is trimmed to these before it reaches the model):

FieldTypeNotes
_linksobject
_links.nextstring
resultsarray of object
results[].idstring
results[].namestring
results[].prefixstring

Also retrieved by: "what tags are on this doc", "how is this article categorized", "show me the topic tags for this write-up".

confluence.add_label

Tag a Confluence page with a label. Use when the user wants to tag, label, or categorize a page. To see what's already applied use list_page_labels; to remove one use remove_label.

Class write (writes, no confirmation needed). No scopes beyond the connection's defaults. Calls POST /ex/confluence/{{params.cloud_id}}/wiki/api/v2/pages/{{params.page_id}}/labels.

Arguments:

ArgumentTypeRequiredNotes
cloud_idstringyesAtlassian Cloud id of the connected Confluence site.
namestringyesLabel text, e.g. "roadmap".
page_idstringyesConfluence page id to tag.
prefixstring, one of global, my, teamnoLabel namespace. Defaults to global.

Result fields (the payload is trimmed to these before it reaches the model):

FieldTypeNotes
idstring
namestring
prefixstring

Also retrieved by: "tag this doc as a roadmap item", "mark this article under a category", "slap a label on this write-up".

confluence.remove_label

Remove a label from a Confluence page. Use when the user wants to untag, unlabel, or remove a tag from a page, not delete the page itself.

Class write (writes, no confirmation needed). No scopes beyond the connection's defaults. Calls DELETE /ex/confluence/{{params.cloud_id}}/wiki/api/v2/pages/{{params.page_id}}/labels/{{params.label_id}}.

Arguments:

ArgumentTypeRequiredNotes
cloud_idstringyesAtlassian Cloud id of the connected Confluence site.
label_idstringyesLabel id to remove, from list_page_labels.
page_idstringyesConfluence page id the label is on.

Result fields (the payload is trimmed to these before it reaches the model):

FieldTypeNotes
removedboolean

Also retrieved by: "untag this doc", "take that category off the article", "strip the tag from this write-up".

confluence.search_content

Search across an entire Confluence site using CQL (Confluence Query Language), e.g. 'space = "ENG" AND type = page AND text ~ "roadmap"'. Use for any fuzzy, keyword, or cross-space search. For an exact known title use search_pages_by_title instead.

Class read (reads only). No scopes beyond the connection's defaults. Calls GET /ex/confluence/{{params.cloud_id}}/wiki/rest/api/search.

Arguments:

ArgumentTypeRequiredNotes
cloud_idstringyesAtlassian Cloud id of the connected Confluence site.
cqlstringyesCQL query, e.g. 'space = "ENG" AND type = page AND text ~ "roadmap" ORDER BY lastmodified DESC'.
limitintegernoPage size, default 25.
startintegernoOffset into the result list, default 0.

Result fields (the payload is trimmed to these before it reaches the model):

FieldTypeNotes
limitinteger
resultsarray of object
results[].contentobject
results[].content.idstring
results[].content.spaceobject
results[].content.titlestring
results[].content.typestring
results[].excerptstring
results[].lastModifiedstring (date-time)
results[].urlstring
startinteger
totalSizeinteger

Also retrieved by: "hunt across the whole wiki for mentions of pricing", "find anything anywhere that talks about the launch", "dig through every space for this keyword".

confluence.list_page_versions

List a Confluence page's version history, newest first: who changed it, when, and their edit message. Use when the user asks about a page's history, past edits, or revisions. For one specific past version's content use get_page_version.

Class read (reads only). No scopes beyond the connection's defaults. Calls GET /ex/confluence/{{params.cloud_id}}/wiki/api/v2/pages/{{params.page_id}}/versions.

Arguments:

ArgumentTypeRequiredNotes
cloud_idstringyesAtlassian Cloud id of the connected Confluence site.
cursorstringnoCursor from a previous response's _links.next, for the next page.
limitintegernoPage size, default 25.
page_idstringyesConfluence page id.

Result fields (the payload is trimmed to these before it reaches the model):

FieldTypeNotes
_linksobject
_links.nextstring
resultsarray of object
results[].authorIdstring
results[].createdAtstring (date-time)
results[].messagestring
results[].numberinteger

Also retrieved by: "show me the edit history of this doc", "who changed this article and when", "what past revisions exist for this write-up".

confluence.get_page_version

Get one specific past version of a Confluence page by version number: who made that edit, when, and their message. Use when the user asks about an older revision by number rather than the current content (use get_page for that).

Class read (reads only). No scopes beyond the connection's defaults. Calls GET /ex/confluence/{{params.cloud_id}}/wiki/api/v2/pages/{{params.page_id}}/versions/{{params.version_number}}.

Arguments:

ArgumentTypeRequiredNotes
cloud_idstringyesAtlassian Cloud id of the connected Confluence site.
page_idstringyesConfluence page id.
version_numberintegeryesVersion number to look up, from list_page_versions.

Result fields (the payload is trimmed to these before it reaches the model):

FieldTypeNotes
authorIdstring
createdAtstring (date-time)
messagestring
numberinteger

Also retrieved by: "what did this doc look like three edits ago", "pull up an older revision by number", "show me a specific past copy of this article".

confluence.get_current_user

Get the profile of the connected Confluence account itself: accountId, display name, and email. Use to answer "who am I" on Confluence, as opposed to Jira's separate get_current_user.

Class read (reads only). No scopes beyond the connection's defaults. Calls GET /ex/confluence/{{params.cloud_id}}/wiki/rest/api/user/current.

Arguments:

ArgumentTypeRequiredNotes
cloud_idstringyesAtlassian Cloud id of the connected Confluence site.

Result fields (the payload is trimmed to these before it reaches the model):

FieldTypeNotes
accountIdstring
accountTypestring
displayNamestring
emailstring

Also retrieved by: "who am I signed in as here", "what's my confluence identity", "show my own profile on this site".