rulvar API reference / @rulvar/rulvar / ToolContract
Interface: ToolContract
Defined in: packages/core/dist/index.d.ts
The identity-bearing tool contract: exactly what the model sees and exactly what toolsetHash hashes. Never contains execute or any closure.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
description | string | - | packages/core/dist/index.d.ts |
name | string | - | packages/core/dist/index.d.ts |
parameters | JsonSchema | Canonical JSON Schema projection of the tool's SchemaSpec. | packages/core/dist/index.d.ts |
version? | string | Opaque semantic-change signal; participates as absent when absent. | packages/core/dist/index.d.ts |