Update a source label
notebook_update_labelRename a source label, change its emoji, and/or put sources of the same notebook under it or take them off; fields left out keep their values. Use it to fill a label made with notebook_create_labels name, or to correct Google's auto labels. The changes are applied one by one: if one fails, the error says how many went through. Returns the label with its name, emoji and source ids. POST /labels/{label}.
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": {
"label": "<label>"
},
"name": "notebook_update_label"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New label name. | |
| emoji | No | New emoji for the label. | |
| label | Yes | Label id, from notebook_list_labels. | |
| addSources | No | Source ids of the same notebook to put under this label. | |
| removeSources | No | Source ids to take off this label (the sources stay in the notebook). |