Variable createA2AAgentToolConst Experimental
createA2AAgentTool: (
config: { agentId: string; agentUrl: string },
) => DynamicStructuredTool<
z.ZodObject<{ message: z.ZodString }, z.core.$strip>,
{ message: string },
{ message: string },
string,
unknown,
`a2a_agent_${string}`,
>
Creates a LangChain tool for communicating with an A2A agent. The tool will be named
a2a_agent_<agentId>.