Prerequisites
The following example requires theatlassian-python-api library and Confluence credentials. You can obtain an API token by going here.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
You are viewing v1 docs. For the latest documentation, visit docs.agno.com
atlassian-python-api library and Confluence credentials. You can obtain an API token by going here.
pip install atlassian-python-api
export CONFLUENCE_URL="https://your-confluence-instance"
export CONFLUENCE_USERNAME="your-username"
export CONFLUENCE_PASSWORD="your-password"
# or
export CONFLUENCE_API_KEY="your-api-key"
from agno.agent import Agent
from agno.tools.confluence import ConfluenceTools
agent = Agent(
name="Confluence agent",
tools=[ConfluenceTools()],
show_tool_calls=True,
markdown=True,
)
agent.print_response("How many spaces are there and what are their names?")
| Parameter | Type | Default | Description |
|---|---|---|---|
username | str | - | Confluence username. Can also be set via environment variable CONFLUENCE_USERNAME. |
password | str | - | Confluence password or API key. Can also be set via environment variables CONFLUENCE_API_KEY or CONFLUENCE_PASSWORD. |
url | str | - | Confluence instance URL. Can also be set via environment variable CONFLUENCE_URL. |
api_key | str | - | Confluence API key (alternative to password). |
ssl_verify | bool | True | If True, verify the SSL certificate. |
| Function | Description |
|---|---|
get_page_content | Gets the content of a specific page. |
get_all_space_detail | Gets details about all Confluence spaces. |
get_space_key | Gets the Confluence key for the specified space. |
get_all_page_from_space | Gets details of all pages from the specified space. |
create_page | Creates a new Confluence page with the provided title and body. |
update_page | Updates an existing Confluence page. |
Was this page helpful?