← all modules

Std.Ai.Tool

Std.Ai.Tool

Types
  type Tool

Values
  describe : Tool -> String
      A tool's description.
  instructions : List Tool -> String
      The tool-use instructions appended to the agent's system prompt: the tool
  name : Tool -> String
      A tool's name.
  run : List Tool -> String -> String -> Task Error String
      Run the tool named `nm` from `tools` with `args`. Fails with a classified
  tool : String -> String -> (String -> Task Error String) -> Tool
      Define a tool: a stable `name`, a `description` the model reads, and an