executeTools
Executes a batch of tool calls within the AI agent environment and processes their results.
This method takes a list of tool call messages, processes them by sending appropriate requests to the underlying environment, and returns a list of results corresponding to the tool calls.
Return
A list of results corresponding to the executed tool calls. Each result includes details such as the tool name, identifier, response content, and metadata.
Parameters
A list of tool call messages to be executed. Each message contains details about the tool, its identifier, the request content, and associated metadata.
Executes a batch of tool calls with shared caller-supplied metadata and returns their results.
The same metadata is passed to every call in the batch.
Return
A list of results corresponding to the executed tool calls.
Parameters
A list of tool call messages to be executed.
Caller- and feature-contributed per-call context.