batch(
inputs: StructuredToolCallInput<SchemaT, SchemaInputT>[],
options: Partial<RunnableConfig<Record<string, any>>> | Partial<RunnableConfig<Record<string, any>>>[],
batchOptions: RunnableBatchOptions __type
): Promise<ToolMessage<MessageStructure<MessageToolSet>> | ToolOutputT[]>| Name | Type | Description |
|---|---|---|
inputs* | StructuredToolCallInput<SchemaT, SchemaInputT>[] | |
options | Partial<RunnableConfig<Record<string, any>>> | Partial<RunnableConfig<Record<string, any>>>[] | |
batchOptions | RunnableBatchOptions & __type |