List Databases
hestia_list_databasesLists databases owned by a HestiaCP user, showing engine type, host, charset, and disk usage. Use it to enumerate a user's databases when you need a quick inventory of what exists and how large each one is.
Instructions
List databases owned by a HestiaCP user with engine type, host, charset, and disk usage via v-list-databases. Use when enumerating a user databases; prefer hestia_list_database_hosts for configured DB servers, hestia_get_db_status for live DB process status, or hestia_db_size_breakdown (serverops) for per-table size/fragmentation analysis over SSH. Returns { ok, targetId, command, data (map keyed by database name) }.
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": {
"user": "<user>"
},
"name": "hestia_list_databases"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | Yes | HestiaCP account username. | |
| targetId | No | Configured target identifier (defaults to "default"). |