confluence_add_label
Add a label to a Confluence page using its page ID and label name, returning the updated label list.
Instructions
Add label to an existing Confluence page.
Args: ctx: The FastMCP context. page_id: The ID of the page to update. name: The name of the label.
Returns: JSON string representing the updated list of label objects for the page.
Raises: ValueError: If in read-only mode or Confluence client is unavailable.
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": {
"page_id": "<page_id>",
"name": "<name>"
},
"name": "confluence_add_label"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The name of the label | |
| page_id | Yes | The ID of the page to update |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |