API
interface ToolCall {arguments: string;argumentsComplete?: boolean;argumentsResolved?: JsonValue;encryptedValue?: string;id: string;metadata?: Metadata;name: string;progress?: number;result?: PromiseSettledResult<any>;readonly resultSubagentRunId?: string;status: "pending" | "done";readonly subagentRunId?: string;}arguments
stringargumentsComplete
booleanSet once the stream has finished delivering the arguments (TOOL_CALL_END).
argumentsResolved
encryptedValue
stringOpaque provider continuation data preserved across AG-UI runs. Hashbrown does not inspect or display this value.
id
stringmetadata
MetadataProvider metadata preserved across AG-UI runs.
name
stringprogress
numberresult
PromiseSettledResult<any>resultSubagentRunId
stringThe subagent invocation that produced the result. An absent owner means the parent when a result exists; a pending call has no result provenance yet.
status
'pending' | 'done'subagentRunId
stringThe subagent invocation that produced this message or requested this call. Calls inherit their enclosing assistant's owner when omitted.