View source: R/content-safety-preview.R
| foundry_agent_tool_call | R Documentation |
Build a single tool-call entry for the tool_calls argument of
foundry_agent_message().
foundry_agent_tool_call(name, id, arguments = "")
name |
Character. The called function name. |
id |
Character. The tool-call identifier, referenced later by a |
arguments |
Character. The serialized call arguments. Default |
A named list matching the task-adherence tool-call schema.
foundry_agent_tool_call("get_credit_card_limit", id = "call_001")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.