Skip to content

Rulvar API reference


Rulvar API reference / @rulvar/rulvar / toolContract

Function: toolContract()

ts
function toolContract(def): ToolContract;

Defined in: packages/core/dist/index.d.ts

The identity projection: the contract tuple that enters toolsetHash. parameters is the canonicalized derived JSON Schema.

Parameters

ParameterType
defToolDef

Returns

ToolContract