Doris MCP Server

by apache
Apache 2.0
2
  • Linux
  • Apple

exec_query

Execute SQL queries on Apache Doris databases via the Doris MCP Server. Specify SQL statements, target database, row limits, and timeout settings for precise query handling and result retrieval.

Instructions

[Function Description]: Execute SQL query and return result command (executed by the client).

[Parameter Content]:

  • sql (string) [Required] - SQL statement to execute
  • db_name (string) [Optional] - Target database name, defaults to the current database
  • max_rows (integer) [Optional] - Maximum number of rows to return, default 100
  • timeout (integer) [Optional] - Query timeout in seconds, default 30

Input Schema

NameRequiredDescriptionDefault
db_nameNo
max_rowsNo
sqlYes
timeoutNo

Input Schema (JSON Schema)

{ "properties": { "db_name": { "default": null, "title": "Db Name", "type": "string" }, "max_rows": { "default": 100, "title": "Max Rows", "type": "integer" }, "sql": { "title": "Sql", "type": "string" }, "timeout": { "default": 30, "title": "Timeout", "type": "integer" } }, "required": [ "sql" ], "title": "exec_query_toolArguments", "type": "object" }
ID: el1kbjxehg