Skip to content

rulvar API reference


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

PropertyTypeDescriptionDefined in
descriptionstring-packages/core/dist/index.d.ts
namestring-packages/core/dist/index.d.ts
parametersJsonSchemaCanonical JSON Schema projection of the tool's SchemaSpec.packages/core/dist/index.d.ts
version?stringOpaque semantic-change signal; participates as absent when absent.packages/core/dist/index.d.ts