Truncate collection
truncate_collectionClear all records in a collection while preserving its schema. Use to reset data for testing or redeployments, knowing the action cannot be undone.
Instructions
Delete ALL records of a collection while keeping the collection/schema itself. Cannot be undone.
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": {
"idOrName": "<idOrName>"
},
"name": "truncate_collection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| idOrName | Yes | Collection id or name to truncate. |