@deskcreate/agentcraft
    Preparing search index...

    Interface ToolStepConfig

    Configuration for ToolStep; toolName must match adapter.getTools().

    interface ToolStepConfig {
        adapter: AgentAdapter | ((ctx: WorkflowContext) => AgentAdapter);
        args:
            | Record<string, unknown>
            | (
                (
                    ctx: WorkflowContext,
                ) => Record<string, unknown> | Promise<Record<string, unknown>>
            );
        id?: string;
        retry?: RetryStepConfig;
        toolName: string;
    }
    Index

    Properties

    args:
        | Record<string, unknown>
        | (
            (
                ctx: WorkflowContext,
            ) => Record<string, unknown> | Promise<Record<string, unknown>>
        )
    id?: string
    retry?: RetryStepConfig
    toolName: string