effect-io-ai

Package: @effect/ai
Module: Tool

Tool.Idempotent

Annotation indicating whether a tool can be called multiple times safely.

Example

import { Tool } from "@effect/ai"

const idempotentTool = Tool.make("get_current_time")
  .annotate(Tool.Idempotent, true)

Signature

declare class Idempotent

Source

Since v1.0.0