Doris MCP Server

by apache
Apache 2.0
2
  • Linux
  • Apple

get_table_schema

Retrieve comprehensive schema details of a specified table, including column names, data types, and comments, using the Doris MCP Server. Specify the table name and optionally the database name for targeted metadata extraction.

Instructions

[Function Description]: Get detailed structure information of the specified table (columns, types, comments, etc.).

[Parameter Content]:

  • table_name (string) [Required] - Name of the table to query
  • db_name (string) [Optional] - Target database name, defaults to the current database

Input Schema

NameRequiredDescriptionDefault
db_nameNo
table_nameYes

Input Schema (JSON Schema)

{ "properties": { "db_name": { "default": null, "title": "Db Name", "type": "string" }, "table_name": { "title": "Table Name", "type": "string" } }, "required": [ "table_name" ], "title": "get_table_schema_toolArguments", "type": "object" }
ID: el1kbjxehg