@deskcreate/agentcraft
    Preparing search index...

    Interface AgentRunParams

    interface AgentRunParams {
        assembly?: {
            allowOutsideRoot?: boolean;
            config?: Record<string, unknown>;
            loader?: IPromptLoader;
            maxPartialDepth?: number;
            minify?: boolean;
            rootDir?: string;
            strict?: boolean;
        };
        audio?: AgentAudio[];
        budget?: RunBudget;
        cache?: false
        | { bypass?: boolean };
        files?: AgentFile[];
        frequencyPenalty?: number;
        images?: AgentImage[];
        maxTokens?: number;
        presencePenalty?: number;
        prompt?: string;
        promptDir?: string;
        promptFile?: string;
        replay?: AgentResponse | { index?: number; responses: AgentResponse[] };
        responseFormat?: ResponseFormat;
        responseSchema?: StructuredOutputSchema;
        signal?: AbortSignal;
        stopSequences?: string[];
        structuredOutput?: StructuredOutputOptions;
        system?: string;
        temperature?: number;
        toolPolicy?: ToolPolicy;
        tools?: ToolDefinition[];
        topP?: number;
        trace?: boolean | TraceSink;
        use?: AgentRunAttachment | readonly AgentRunAttachment[];
        vars?: Record<string, unknown>;
        video?: AgentVideo[];
    }
    Index

    Properties

    assembly?: {
        allowOutsideRoot?: boolean;
        config?: Record<string, unknown>;
        loader?: IPromptLoader;
        maxPartialDepth?: number;
        minify?: boolean;
        rootDir?: string;
        strict?: boolean;
    }
    audio?: AgentAudio[]
    budget?: RunBudget
    cache?: false | { bypass?: boolean }
    files?: AgentFile[]
    frequencyPenalty?: number
    images?: AgentImage[]
    maxTokens?: number
    presencePenalty?: number
    prompt?: string
    promptDir?: string

    Use promptFile to point at an explicit entry file, then compose additional files with {{include path}} directives.

    promptFile?: string
    replay?: AgentResponse | { index?: number; responses: AgentResponse[] }
    responseFormat?: ResponseFormat
    responseSchema?: StructuredOutputSchema
    signal?: AbortSignal
    stopSequences?: string[]
    structuredOutput?: StructuredOutputOptions
    system?: string
    temperature?: number
    toolPolicy?: ToolPolicy
    tools?: ToolDefinition[]
    topP?: number
    trace?: boolean | TraceSink

    Attach skills, adapters, or creator packs for this run only.

    Use this when a tool/skill should be available to one prompt without becoming part of the agent's global context or default tool surface.

    vars?: Record<string, unknown>
    video?: AgentVideo[]