asToolCallPart( maybePart: unknown,): | null | { tool_call: { arguments: string; name: string; type: "function" }; tool_call_id: string; type: "tool_call"; } Returns
| null
| {
tool_call: { arguments: string; name: string; type: "function" };
tool_call_id: string;
type: "tool_call";
}