Skip to content

Interface: LockfileTool

Defined in: packages/core/src/introspection/CapabilityLockfile.ts:100

Behavioral snapshot for a single tool.

Every field is derived from the ToolContract — no manual annotation required. The snapshot captures everything an LLM relies on to behave correctly with this tool.

Properties

behavior

ts
readonly behavior: LockfileToolBehavior;

Defined in: packages/core/src/introspection/CapabilityLockfile.ts:106

Behavioral contract internals


entitlements

ts
readonly entitlements: LockfileEntitlements;

Defined in: packages/core/src/introspection/CapabilityLockfile.ts:110

Handler entitlements (I/O capabilities)


integrityDigest

ts
readonly integrityDigest: string;

Defined in: packages/core/src/introspection/CapabilityLockfile.ts:102

SHA-256 integrity digest for this tool's behavioral contract


surface

ts
readonly surface: LockfileToolSurface;

Defined in: packages/core/src/introspection/CapabilityLockfile.ts:104

Declarative surface visible via MCP tools/list


tokenEconomics

ts
readonly tokenEconomics: LockfileTokenEconomics;

Defined in: packages/core/src/introspection/CapabilityLockfile.ts:108

Token economics profile