rulvar API reference / @rulvar/core / toolContract
Function: toolContract()
ts
function toolContract(def): ToolContract;Defined in: packages/core/src/tools/tool.ts:71
The identity projection: the contract tuple that enters toolsetHash. parameters is the canonicalized derived JSON Schema.
Parameters
| Parameter | Type |
|---|---|
def | ToolDef |