View source: R/content-safety-preview.R
| foundry_agent_tool | R Documentation |
Build a single tool definition for the tools argument of
foundry_task_adherence().
foundry_agent_tool(name, description)
name |
Character. The tool (function) name. |
description |
Character. What the tool does. |
A named list matching the task-adherence tool schema.
foundry_agent_tool("order_car", "Buy a particular car model")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.