ADK for TypeScript: API Reference
    Preparing search index...

    Interface CrewaiToolLike

    Structural interface for a CrewAI tool instance.

    interface CrewaiToolLike {
        argsSchema?: CrewaiSchemaLike;
        description?: string;
        name?: string;
        run(args: Record<string, unknown>, toolContext?: Context): unknown;
    }
    argsSchema?: CrewaiSchemaLike

    Optional parameters schema for the tool.

    description?: string

    The description of the CrewAI tool.

    name?: string

    The name of the CrewAI tool.

    • Executes the CrewAI tool with the given arguments.

      Parameters

      • args: Record<string, unknown>
      • OptionaltoolContext: Context

      Returns unknown