Add Labels
add_labelsAdds labels to a Docmost page and creates any missing labels, leaving the page body unchanged.
Instructions
Add labels to a page; labels that do not exist yet are created. The page body is not changed. Needs Docmost 0.90 or newer.
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": "<page>",
"labels": "<labels>"
},
"name": "add_labels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | Page id, slug id or Docmost page URL. | |
| labels | Yes | Label names to add. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||