describe_table
Retrieve a DynamoDB table's schema and configuration, including key schema, attribute definitions, indexes, billing mode, item count, size, and status.
Instructions
Get detailed information about a DynamoDB table's schema and configuration.
Returns key schema, attribute definitions, GSIs/LSIs, billing mode, item count, table size, and table status.
When to use:
To understand a table's key schema before querying
To check what GSIs exist before creating a new one
To verify table status (ACTIVE, CREATING, UPDATING, etc.)
To check item count and table size
When NOT to use:
To list tables (use list_tables instead)
Returns: JSON with table name, status, key schema, attribute definitions, indexes, billing mode, item count, and size in bytes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |