| hal_tool_call | R Documentation |
An S3 class representing a single tool invocation by the agent. Tool calls appear inside hal_turn objects and are visible when printing conversation history.
## S3 method for class 'hal_tool_call'
format(x, ...)
## S3 method for class 'hal_tool_call'
print(x, ...)
x |
A |
... |
Ignored. |
The print() method returns x invisibly; the format()
method returns a character scalar. hal_tool_call objects are
created internally as tool activity streams in.
tool_call_idCharacter: unique ID for this tool call.
titleCharacter: human-readable description (e.g., "Viewing DESCRIPTION").
kindCharacter: tool kind ("read", "write", "command", etc.).
statusCharacter: "pending", "completed", or "failed".
inputNamed list of input arguments.
outputCharacter: output text from the tool.
hal_turn, hal_response
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.