Get database
ws_db_getFetch a database's name, type, and connection details using its hosting ID and database ID.
Instructions
Get one database by id, including its name, type and connection details.
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": {
"hostingId": "<hostingId>",
"databaseId": "<databaseId>"
},
"name": "ws_db_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | No | Account id, or the literal "self" for the authenticated account. Defaults to "self". | self |
| hostingId | Yes | Hosting id or uuid the database belongs to. | |
| databaseId | Yes | Database id, as returned by ws_db_list. |