Delete Agent Folder
deleteAgentFolderDelete an agent folder. If the folder contains assignments or subfolders, pass force=true to delete it and move the contained assignments to the root level.
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": {
"folder_id": "<folder_id>"
},
"name": "deleteAgentFolder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Pass 'true' to delete a folder that still contains assignments or subfolders. Any contained assignments will be moved to the root level. | |
| folder_id | Yes | The folder's unique identifier |