> This page is for Agent Handler.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.merge.dev/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.merge.dev/_mcp/server.

# Confluence

**Authentication:** OAuth or API token. See [Magic Link](/merge-agent-handler/features/magic-link) for the runtime auth flow, or [Application credentials](/merge-agent-handler/admin-setup/add-oauth-credentials) to bring your own OAuth app.

## Sample use cases

* Search the engineering space for pages tagged `runbook` and last edited over 90 days ago.
* Create a new meeting notes page under `Team / Weekly Sync` from this morning's transcript.
* Find every page that mentions `legacy-auth` so we can update them after the migration.

## Available Tools

#### get\_blogposts

Get blog posts from Confluence with optional space filtering

#### get\_blogpost

Get a specific blog post with full content by ID

#### create\_blogpost

Create a new blog post in Confluence - requires space\_id, title, and body\_value

#### update\_blogpost

Update an existing blog post in Confluence - requires blogpost\_id, title, body\_value, and version\_number

#### delete\_blogpost

Delete a blog post from Confluence

#### get\_pages

Get pages from Confluence with optional space filtering

#### get\_page

Get a specific page with full content by ID

#### create\_page

Create a new page in Confluence - requires space\_id, title, and body\_value

#### update\_page

Update an existing page in Confluence

#### delete\_page

Delete a page from Confluence

#### get\_page\_footer\_comments

Get footer comments for a specific Confluence page

#### get\_page\_inline\_comments

Get inline comments for a specific Confluence page

#### create\_footer\_comment

Create a footer comment on a Confluence page

#### create\_inline\_comment

Create an inline comment on specific content within a Confluence page

#### find\_text\_selections

Find text occurrences in page content to help with inline comment creation

#### search\_pages

Advanced page search with date filtering using CQL (Confluence Query Language)

#### get\_spaces

Get spaces from Confluence

#### create\_space

Create a new space in Confluence - requires key and name

#### get\_space

Get a specific space by key

#### update\_space

Update a space in Confluence

#### delete\_space

Delete a space from Confluence

#### get\_space\_content

Get content from a specific space

#### list\_all\_spaces

List all accessible spaces

#### search\_spaces

Search for spaces by name or key

#### get\_current\_user

Get current authenticated user details