Create a MySQL database
create_databaseCreate a MySQL database and a database user on a GlobalHostia hosting service. The panel adds the account prefix to both names (e.g. "shop" becomes "bob_shop"). A strong random password is set and never shown; the customer sets their own in the control panel before use.
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": {
"service_id": "<service_id>",
"name": "<name>"
},
"name": "create_database"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Database name without the prefix | |
| user | No | User name without the prefix (default: same as name) | |
| service_id | Yes | Hosting service id, as returned by the matching list tool. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | No | ||
| database | No | ||
| set_password_url | No |