effect-io-ai

Package: @effect/ai
Module: Tool

Tool.Readonly

Annotation indicating whether a tool only reads data without making changes.

Example

import { Tool } from "@effect/ai"

const readOnlyTool = Tool.make("get_user_info")
  .annotate(Tool.Readonly, true)

Signature

declare class Readonly

Source

Since v1.0.0