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