pub async fn call_tools(
ctx: &AgentContext,
tool_calls: &Vector<ToolCall>,
) -> Result<Vector<Message>, AgentError>Expand description
Executes multiple tool calls and returns the results as messages.
Processes each tool call sequentially and returns tool response messages suitable for continuing an LLM conversation.
§Arguments
ctx- The agent context for the invocationstool_calls- The tool calls to execute
§Returns
A vector of tool response messages, one for each tool call.