Gaunt Sloth Assistant - v1.4.0
    Preparing search index...

    Function createA2AAgentTool

    Creates a LangChain tool for communicating with an A2A agent. The tool will be named a2a_agent_<agentId>.

    A2A agent configuration

    A DynamicStructuredTool for the agent

    • Experimental

      Parameters

      • config: { agentId: string; agentUrl: string }

      Returns DynamicStructuredTool<
          ZodObject<{ message: ZodString }, $strip>,
          { message: string },
          { message: string },
          string,
          unknown,
          `a2a_agent_${string}`,
      >