Multiagent example: tooling not match expected schema #5

Closed
opened 2026-02-15 17:05:11 -05:00 by yindo · 0 comments
Owner

Originally created by @frnndwrms on GitHub (Jan 31, 2024).

The excerpt

const tools = [tavilyTool, chartTool];
const toolExecutor = new ToolExecutor({ tools });

Shouldn't be converted to

  let toolsAsOpenAIFunctions = tools.map((tool) =>
      convertToOpenAIFunction(tool)
  );

It results in

Error: Received tool input did not match expected schema

Originally created by @frnndwrms on GitHub (Jan 31, 2024). The excerpt const tools = [tavilyTool, chartTool]; const toolExecutor = new ToolExecutor({ tools }); Shouldn't be converted to let toolsAsOpenAIFunctions = tools.map((tool) => convertToOpenAIFunction(tool) ); It results in Error: Received tool input did not match expected schema
yindo closed this issue 2026-02-15 17:05:11 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langgraphjs#5