get_schema
Discover available schema kinds by retrieving the catalog of all kinds, or get detailed attributes and filter keys for a specific kind. Call this first when you don't know what kinds or filters exist.
Instructions
Discover available schema kinds — call this first when you don't know what kinds or filters exist.
Without a kind, returns the catalog of all kinds (compact JSON).
With a kind, returns its attributes, relationships, and the full set
of filter keys accepted by get_nodes (TOON-encoded for token efficiency).
Each relationship inlines one level of its peer schema unless expand is
False (or the server default disables it).
Prefer reading the infrahub://schema resource if your client supports
MCP resources — this tool provides the same data for clients that don't.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Kind to get detail for. Omit to list all available kinds. | |
| branch | No | Branch to query. Defaults to the default branch. | |
| expand | No | Inline one level of each relationship's peer schema. Defaults to the server's INFRAHUB_MCP_SCHEMA_EXPAND_PEERS setting when omitted. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |