• Retrieves a tool schema by its name from the swarm's tool schema service. Logs the operation if logging is enabled in the global configuration.

    Parameters

    • toolName: string

      The name of the tool to retrieve.

    Returns IAgentTool<Record<string, ToolValue>>

    The tool schema associated with the provided tool name.

    getTool