change_storage_path
Update the Kratos storage location and migrate existing data with optional backup.
Instructions
Dynamically change where Kratos stores data (with automatic migration)
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": {
"newPath": "<newPath>"
},
"name": "change_storage_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| newPath | Yes | New storage path (e.g., "/opt/kratos" or ".kratos") | |
| migrate | No | Migrate existing data to new location (default: true) | |
| backup | No | Create backup before migration (default: true) |