Class ToolCallInfo
Information about a tool call during streaming.
public sealed class ToolCallInfo
- Inheritance
-
ToolCallInfo
- Inherited Members
Examples
Inspecting tool-call metadata as it streams:
using LMKit.Agents.Streaming;
streamingAgent.ToolCalled += (s, info) =>
Console.WriteLine($"Tool '{info.Name}' invoked with {info.Arguments.Length} chars of arguments");
Properties
- Arguments
Gets the tool arguments.
- IsComplete
Gets a value indicating whether the tool has completed.
- Name
Gets the tool name.
- Result
Gets the tool result, if available.