list_databases
Retrieve all database names available on a database server using a connection string, with output in JSON or CSV format.
Instructions
List all databases available on a database server
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection_string | No | Database connection URL or configured connection name (e.g., "oracle" for USQL_ORACLE env var, or full URL like "postgres://localhost") | |
| output_format | No | Output format for results (default: json) | |
| timeout_ms | No | Optional timeout in milliseconds for this call (overrides defaults). Use null for unlimited. |
Input Schema (JSON Schema)
{
"properties": {
"connection_string": {
"description": "Database connection URL or configured connection name (e.g., \"oracle\" for USQL_ORACLE env var, or full URL like \"postgres://localhost\")",
"type": "string"
},
"output_format": {
"description": "Output format for results (default: json)",
"enum": [
"json",
"csv"
],
"type": "string"
},
"timeout_ms": {
"description": "Optional timeout in milliseconds for this call (overrides defaults). Use null for unlimited.",
"minimum": 1,
"type": [
"number",
"null"
]
}
},
"required": [],
"type": "object"
}