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
Name | Required | Description | Default |
---|---|---|---|
db_name | No | ||
max_rows | No | ||
sql | Yes | ||
timeout | No |