list-schemas
Lists schemas, databases, or jobs for a target server instance and resolves its login from the encrypted store, so requests carry no password.
Instructions
dbabrain common.cli list-schemas: One instance's databases, schemas or jobs listed.
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].credential_name: Which login in users.json; default: the instance's own.
sql_access: How to reach the SQL engine, overriding the instance's block.
database_name: One database.
include_system: Include system objects.
enabled_only: list-jobs: only enabled jobs.
timeout_seconds: How long to wait.
key: The secret-store passphrase, when not in the environment.
key_base64: The same, base64.
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": "list-schemas"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |