Describe Table
describe_tableInspect the schema of tables, collections, indexes, or Redis keys to view columns, fields, mappings, and TTL.
Instructions
Show the structure of a table: columns on SQL engines, inferred fields for a MongoDB collection, the mapping of an Elasticsearch index, or the type and TTL of a Redis key
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | Table name (schema.table where the engine has schemas), collection, Redis key, or index | |
| database | No | Optional database to read from for this call only, without changing the active connection |