compact_dataset
Reclaim disk space in a TDB2 dataset by compacting it to remove superseded data. Optionally delete the pre-compaction copy to free the most space.
Instructions
Compact a TDB2 dataset, reclaiming space held by superseded data.
Runs in the background; poll with task_status. delete_old removes the pre-compaction copy once it succeeds, which frees the most space and cannot be undone.
Only meaningful for TDB2 datasets.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "compact_dataset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dataset | No | Dataset name. Defaults to the configured one. | |
| delete_old | No | Delete the pre-compaction copy. Default false. |