Folders
foldersRead-only; writes are on folders_manage. Contact folders. Deleting a folder never deletes its contacts. Actions: list (paginated, params: page, per_page. Returns { folders, pagination }); list_contacts (contacts in a folder, params: folder_id [required], page, per_page. Returns { folder, contacts, pagination }).
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": {
"action": "<action>"
},
"name": "folders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | The read operation to perform on folders. | |
| action_params | No | Parameters for the chosen action. Required per action — create: name; update/delete: id; list_contacts: folder_id; add_contacts/remove_contacts: folder_id + contact_ids. |