get database
get_databaseRetrieves details for a single database from a HestiaCP server by specifying the user and database name, returning the result in JSON or plain text.
Instructions
Get one database. Executes verified command v-list-database.
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>",
"database": "<database>"
},
"name": "get_database"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | Yes | ||
| format | No | json | |
| database | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No | ||
| command | Yes |