Skip to main content

Confluence

Connects to the Confluence Cloud REST API for searching and managing wiki pages and spaces. An agent can search content, read and edit pages, and browse the page hierarchy.

Add to an agent node's tools array with _node_type: "tool-confluence". See Connector Reference — How connectors are used.

Authentication

FieldRequiredDescription
base_urlYesConfluence site base URL (e.g. https://myorg.atlassian.net/wiki). Trailing slash is stripped.
emailYesAtlassian account email, used for HTTP Basic auth.
api_tokenYesAtlassian API token, used for HTTP Basic auth.
{
"name": "confluence",
"_node_type": "tool-confluence",
"base_url": "https://myorg.atlassian.net/wiki",
"email": "{{ secret.CONFLUENCE_EMAIL }}",
"api_token": "{{ secret.CONFLUENCE_API_TOKEN }}"
}

Tools

Search Confluence using CQL (Confluence Query Language). Examples: text~kubernetes, space=ENG AND type=page.

Parameters

ParameterTypeRequiredDescription
querystringYesCQL search query (e.g. type=page AND space=ENG AND title~Design)
limitnumberNoMax results (default 10)

Returns: A newline-separated list of - **<title>** [<space name>] id: <id> lines, or "No results found.".

confluence_get_page

Get a Confluence page's title and content.

Parameters

ParameterTypeRequiredDescription
page_idstringYesConfluence page ID

Returns: A formatted string with the page title, space name, version number, and the page body (storage format/HTML).

confluence_create_page

Create a new Confluence page in a space.

Parameters

ParameterTypeRequiredDescription
space_keystringYesSpace key (e.g. ENG, DEV)
titlestringYesPage title
contentstringYesPage content as plain text or HTML (Confluence storage format)
parent_idstringNoParent page ID (optional)

Returns: A confirmation message with the page title, new page ID, and full URL.

confluence_update_page

Update an existing Confluence page. Use confluence_get_page first to get the current version number.

Parameters

ParameterTypeRequiredDescription
page_idstringYesPage ID to update
titlestringYesNew page title
contentstringYesNew page content
versionnumberYesCurrent version number (required for optimistic locking — the tool increments it by 1)

Returns: A confirmation message with the updated page's title and ID.

confluence_list_spaces

List all Confluence spaces.

Parameters

ParameterTypeRequiredDescription
limitnumberNoMax spaces to return (default 20)

Returns: A newline-separated list of - **<name>** (key: <key>) lines for global spaces, or "No spaces found.".

confluence_get_page_children

List child pages of a Confluence page.

Parameters

ParameterTypeRequiredDescription
page_idstringYesParent page ID

Returns: A newline-separated list of - **<title>** id: <id> lines, or "No child pages.".

Next