ClickHouse
clickhouseClickHouse is a fast open-source column-oriented database management system for real-time analytics and big data processing with SQL support
Acciones disponibles (5)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Execute ClickHouse QueryCLICKHOUSE_EXECUTE_QUERYAcciónExecute a sql query in clickhouse and return the results. this is the primary action for querying data from clickhouse databases.
CLICKHOUSE_EXECUTE_QUERYAcciónExecute a sql query in clickhouse and return the results. this is the primary action for querying data from clickhouse databases.
Parámetros de entrada
querystringObligatorioThe SQL query to execute in ClickHouse
formatstringOutput format for the query results. Common formats: JSONEachRow, JSON, CSV, TSV
databasestringDatabase to use for the query (overrides connection default)
settingsobjectAdditional ClickHouse settings for the query execution
max_execution_timeintegerMaximum query execution time in seconds
Parámetros de salida
dataobject[]ObligatorioQuery results as a list of dictionaries (for JSONEachRow format)
rowsintegerObligatorioNumber of rows returned
errorstringError if any occurred during the execution of the action
statisticsobjectQuery execution statistics if available
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Database SchemaCLICKHOUSE_GET_DATABASE_SCHEMAAcciónGet comprehensive schema overview of an entire database including all tables and optionally their column definitions. essential for ai agents to understand the complete database structure in a single call.
CLICKHOUSE_GET_DATABASE_SCHEMAAcciónGet comprehensive schema overview of an entire database including all tables and optionally their column definitions. essential for ai agents to understand the complete database structure in a single call.
Parámetros de entrada
databasestringDatabase name (overrides connection default). If not specified, uses connection default or 'default'
include_table_schemasbooleanWhether to include full column schemas for all tables. Set to false for quick overview, true for complete schema details.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Table SchemaCLICKHOUSE_GET_TABLE_SCHEMAAcciónGet detailed schema information for a specific table including column definitions, types, keys, and optionally sample data. this is essential for ai agents to understand table structure before constructing queries.
CLICKHOUSE_GET_TABLE_SCHEMAAcciónGet detailed schema information for a specific table including column definitions, types, keys, and optionally sample data. this is essential for ai agents to understand table structure before constructing queries.
Parámetros de entrada
databasestringDatabase name (overrides connection default)
table_namestringObligatorioName of the table to describe
sample_rowsintegerNumber of sample rows to return (only if include_sample_data is true)
include_sample_databooleanWhether to include sample rows from the table
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List ClickHouse DatabasesCLICKHOUSE_LIST_DATABASESAcciónList all databases in the clickhouse instance. useful for discovering available databases before querying tables.
CLICKHOUSE_LIST_DATABASESAcciónList all databases in the clickhouse instance. useful for discovering available databases before querying tables.
Parámetros de entrada
patternstringOptional LIKE pattern to filter databases (e.g., 'prod_%' or '%test')
include_tablesbooleanWhether to include list of table names for each database
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List ClickHouse TablesCLICKHOUSE_LIST_TABLESAcciónList tables in clickhouse databases. returns information about tables including their engine, size, and row count.
CLICKHOUSE_LIST_TABLESAcciónList tables in clickhouse databases. returns information about tables including their engine, size, and row count.
Parámetros de entrada
patternstringOptional LIKE pattern to filter table names (e.g., 'user_%' or '%_log')
databasestringDatabase name to list tables from. If not provided, lists tables from all databases
include_viewsbooleanWhether to include views in the results
include_columnsbooleanWhether to include column names for each table
include_primary_keybooleanWhether to include primary key information for each table
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not