delete_package
Permanently remove a package from a Cognigy.AI project. Use dry run to validate before irreversible deletion.
Instructions
Deletes a package from a Cognigy.AI project. DESTRUCTIVE & IRREVERSIBLE: The package will be permanently removed. Use dryRun=true (default) to validate first. Async operation.
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": {
"packageId": "<packageId>"
},
"name": "delete_package"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | If true (default), validates without deleting. Set to false to actually delete. WARNING: This is irreversible! | |
| packageId | Yes | The package ID to delete | |
| timeoutMs | No | Maximum time to wait for deletion (5-300 seconds, default 60) | |
| pollIntervalMs | No | How often to check task status (1-10 seconds, default 2) |