Class HumanHandoffTool
The tool an agent calls to hand the conversation to a person (WithHumanHandoff()): the run ends as HandedOff, with the agent's reason, summary and collected facts on Handoff, and the agent tells the user someone will take over.
public sealed class HumanHandoffTool : ITool, IToolMetadata
- Inheritance
-
HumanHandoffTool
- Implements
- Inherited Members
Fields
- ToolName
The tool's name.
Properties
- Category
Gets the category this tool belongs to.
- DefaultApproval
Gets the default approval mode for this tool.
- Description
Gets a concise description of what the tool does.
- InputSchema
Gets the JSON Schema defining the expected input arguments.
- IsIdempotent
Gets whether the tool is idempotent (safe to retry without changing outcome).
- IsReadOnly
Gets whether the tool performs only read operations with no state mutation.
- Name
Gets the stable, unique identifier for this tool.
- RiskLevel
Gets the inherent risk level of this tool.
- SideEffect
Gets the type of side effect this tool may produce.
Methods
- InvokeAsync(string, CancellationToken)
Executes the tool with the specified JSON arguments.