Get compact schema
get_compact_schemaReturn a condensed schema summary of tables, columns, primary keys, nullability, and relations to save context window tokens. Set fresh=true to bypass cached data after schema changes.
Instructions
Return a highly condensed, token-efficient text summary of a schema's tables, columns, primary keys, nullability, and relations to save context window tokens. Set fresh=true to bypass the cache and re-read live (e.g. after a schema change).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fresh | No | ||
| schema | Yes | ||
| database | No | Optional: target a configured secondary (read-only) database by name; omit for the primary. Call list_databases to see the configured ids. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |