effect-io-ai

Package: @effect/ai
Module: Tool

Tool.EmptyParams

Type of the EmptyParams schema used for tools with no parameters.

Details

It is a record schema with string keys and never values, so the generated parameter schema accepts an empty object shape with no properties.

Signature

export interface EmptyParams extends Schema.Record$<typeof Schema.String, typeof Schema.Never> {}

Source

Since v1.0.0