local_ydb_reduce_storage_groups
Reduce the number of storage groups in a YDB tenant storage pool by dumping, rebuilding with a smaller count, restoring, and reapplying auth.
Instructions
Reduce NumGroups for a tenant storage pool by dumping the tenant, rebuilding the profile stack with a smaller storagePoolCount, restoring the dump, and reapplying auth when needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile | No | Named profile from local-ydb.config.json. Defaults to config.defaultProfile. | |
| configPath | No | Explicit local-ydb config file path to load for this tool call. Useful when the MCP server should pick up a different config without restart. | |
| confirm | No | Must be true to execute planned commands. Omit or false for plan-only output. | |
| count | No | Number of storage groups to remove from the current tenant pool. Defaults to 1. | |
| dumpName | No | Optional dump directory name under profile.dumpHostPath to preserve before rebuild. | |
| poolName | No | Explicit storage pool name. Defaults to <tenantPath>:<storagePoolKind>. |