Gaunt Sloth Assistant - v1.0.5
    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,
      >