Skip to main content

Interface: ComposableToolSpec

Defined in: packages/agentos/src/cognition/emergent/types.ts:113

Implementation specification for a tool built by composing existing tools.

The engine executes each step in order, threading outputs through the reference expression system. The final step's output becomes the tool's output.

Properties​

mode​

mode: "compose"

Defined in: packages/agentos/src/cognition/emergent/types.ts:115

Discriminant: always 'compose' for composable specs.


steps​

steps: ComposableStep[]

Defined in: packages/agentos/src/cognition/emergent/types.ts:121

Ordered list of pipeline steps. Must contain at least one step; the last step's output is the tool result.