File in a folder
folders_add_itemFile one of the user's notes, tasks or contacts in one of their private folders, by its name as folder, whatever its case. A name they have no folder of makes a new one: new_folders in the answer names it, so tell the user, in case it was misspelled; folders_list shows the ones they have. Or put a note or task in a shared folder, by its uuid as shared_folder: everyone in the folder then opens it at their role there, so it takes the item's owner or an admin (can_share in notes_get or tasks_get) with a role in the folder that adds (can_add in folders_get). Contacts don't go in shared folders. Something can be in several folders. Returns the item as it is now.
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": {
"item_type": "<item_type>",
"item_uuid": "<item_uuid>"
},
"name": "folders_add_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder | No | A private folder's name | |
| item_type | Yes | What to file | |
| item_uuid | Yes | Its uuid | |
| shared_folder | No | A shared folder, by the uuid folders_list gives it |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||