db-status
Check instance, database, or schema health using a server ID; logins resolve from DBA Brain's encrypted store, so requests carry no passwords.
Instructions
dbabrain common.cli db-status: How deep to check an instance.
server_id (or target) names the server; its connection or host login is completed from this node's inventory and encrypted secret store, so a request carries no password.
Request fields (pass them as request):
target: The machine or instance: a server_id, or
<db_type> <ip>[:port].depth: instance | database | schema.
database_name: One database.
database_names: Which databases, at depth database.
connection: The database login, complete: db_type, host, port, username, password - and, where they apply, database, instance_name, service_name, sqlserver_driver, sqlserver_tls_verify and sql_access (the 8i bridge); server_id an...
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "db-status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |