Update a list
update_listUse this when the user wants to rename a list, move it into a folder, or take it out of its folder. Name the folder by id, or by name, which creates the folder when the list's kind has none; send folderId as null to take the list out of every folder. A folder holds one kind of list. Free.
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": {
"listId": "<listId>"
},
"name": "update_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | A new name. | |
| listId | Yes | The list's id. | |
| folderId | No | Move the list into this folder, one for the list's own kind, or out of every folder with null. | |
| folderName | No | Move the list into the folder of this name, in any case, which is created when the list's kind has none. Send this or `folderId`, not both. |