OptionalincludeInclude a compact field list (name + type) per entity. Default false.
OptionalmaxHard cap on entities in the projection, applied after schema filtering.
OptionalschemasRestrict to these schema names (case-insensitive). Omit to use every schema.
Runtime helpers for a multi-schema catalog.
Metadata.Entitiesis the complete, always-in-sync catalog. We do not shard that array by schema — agents, permissions, and RunView all assume every entity is addressable. What we do offer is hydrate-by-schema: take the full catalog and project the subset (or the compact summary) a caller actually needs. MCP tools and agent prompts should ask forbsd_crmrather than stuffing 2,880 table definitions into a context window.This module is pure. It never talks to a provider.