Skip to main content

Module internal

Module internal 

Source
Expand description

The internal tool contracts (RFC 0028 §3): name, description, input and output JSON Schemas, whether a built-in implementation exists (mapping-only contracts are code.run, knowledge.*, search.*), and the default grants. Contracts are what callers see; an override (RFC 0028 §4) swaps the implementation, never the contract.

Structs§

Contract
One contract.
DefaultGrant
Who may call a tool by default (RFC 0028 §3 “Grants default”).

Functions§

contracts
Every internal contract (deterministic order).
names
The contract names, in table order.