add_confluence_label
Add a label to a Confluence page to organize content and improve searchability. Labels must contain only letters, numbers, hyphens, and underscores.
Instructions
Add a label to a page. Labels help organize content and make it easier to find related pages through search_confluence_pages.
Label Format:
Must contain only letters, numbers, hyphens, and underscores
No spaces or special characters allowed
Error Handling:
Returns 400 for invalid label format
Returns 403 for insufficient permissions
Returns 404 if page not found
Returns 409 if label already exists on the page
Response includes:
Success status
Label details (id, name, prefix, creation date)
Operation message
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": {
"pageId": "<pageId>",
"label": "<label>"
},
"name": "add_confluence_label"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | Yes | ID of the page to add the label to | |
| label | Yes | Label to add (letters, numbers, hyphens, and underscores only) |