A tool call the agent server executes itself, surfaced for display only.
Hashbrown never runs these: the client has no tool of that name. The
arguments resolve as they stream, so a renderer can paint from them before
the call finishes. status is inProgress while argument deltas arrive,
executing once the arguments are complete and no result has arrived, and
complete once the server reports the result.
API
export type ServerToolCall = {
readonly subagentRunId?: string;
readonly resultSubagentRunId?: string;
toolCallId: string;
name: string;
status: "inProgress" | "executing" | "complete";
args: JsonValue | null;
result?: PromiseSettledResult <unknown>;
progress?: number;
encryptedValue?: string;
metadata?: Metadata ;
outcome?: ServerToolCallOutcome ;
label?: string;
icon?: string;
kind?: "server" | "provider";
builtin?: string;
queries?: readonly string[];
sources?: readonly ServerToolCallSource [];
error?: {
message: string;
code?: string;
};
timing?: {
startedAt: number;
settledAt?: number;
};
parentToolCallId?: string;
};