rename_category
Rename a Notes category by moving each note to a new category, since the API lacks rename; reports per-note outcomes and can re-parent nested subcategories recursively.
Instructions
Rename a category by moving every note in it. The Notes API has no category rename, so this rewrites each note individually and is not atomic: a partial failure leaves some notes moved. The per-note outcome is reported. Pass recursive=true to re-parent nested subcategories too.
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": {
"from": "<from>",
"to": "<to>"
},
"name": "rename_category"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | "" moves the notes to uncategorized. | |
| from | Yes | ||
| recursive | No | Also re-parent nested subcategories. |