Tool Approval Request
data class ToolApprovalRequest(val toolCallId: String, val toolName: String, val input: JsonElement, val approvalId: String? = null, val signature: String? = null, val providerMetadata: ProviderMetadata = ProviderMetadata.None) : ContentPart(source)
Assistant content: the LLM called a tool that requires approval.
Since
0.3.0-beta01
Constructors
Link copied to clipboard
constructor(toolCallId: String, toolName: String, input: JsonElement, approvalId: String? = null, signature: String? = null, providerMetadata: ProviderMetadata = ProviderMetadata.None)
Properties
Link copied to clipboard
Approval-identity key distinct from toolCallId per v6 (gap #7 in historical parity work). Null defaults to toolCallId for the common single-approval case; explicit value lets two approvals share a tool-call id without correlation ambiguity.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard