clickhouse-list-databases Tool

A “clickhouse-list-databases” tool lists all databases in a ClickHouse instance.

About

A clickhouse-list-databases tool lists all available databases in a ClickHouse instance.

This tool executes the SHOW DATABASES command and returns a list of all databases accessible to the configured user, making it useful for database discovery and exploration tasks.

Compatible Sources

This tool can be used with the following database sources:

Source Name
ClickHouse Source

Example

kind: tools
name: list_clickhouse_databases
type: clickhouse-list-databases
source: my-clickhouse-instance
description: List all available databases in the ClickHouse instance

Output Format

The tool returns an array of objects, where each object contains:

  • name: The name of the database

Example response:

[
  {"name": "default"},
  {"name": "system"},
  {"name": "analytics"},
  {"name": "user_data"}
]

Reference

fieldtyperequireddescription
typestringtrueMust be “clickhouse-list-databases”.
sourcestringtrueName of the ClickHouse source to list databases from.
descriptionstringtrueDescription of the tool that is passed to the LLM.
authRequiredarray of stringfalseAuthentication services required to use this tool.
parametersarray of ParameterfalseParameters for the tool (typically not used).