APIinterface ToolCall {function: { name: string; arguments: string; };id: string;index: number;type: string;}