Skip to content

Type Alias: ToolExposition

ts
type ToolExposition = "flat" | "grouped";

Defined in: packages/core/src/exposition/types.ts:26

Tool exposition strategy.

  • 'flat' — Each action is exposed as an independent atomic MCP tool. Guarantees privilege isolation, deterministic routing, and granular UI. This is the default.

  • 'grouped' — All actions within a builder are merged into a single MCP tool with a discriminated-union schema. Optimizes context-window token economy at the cost of UI granularity.

See

ExpositionConfig for full configuration