lloyal-agents API Reference
    Preparing search index...

    Interface WebResearchToolOpts

    Configuration for WebResearchTool.

    interface WebResearchToolOpts {
        reporterPrompt: { system: string; user: string };
        systemPrompt: string;
        description?: string;
        maxTurns?: number;
        name?: string;
        pressure?: PressureThresholds;
        trace?: boolean;
    }
    Index

    Properties

    reporterPrompt: { system: string; user: string }

    Prompts used for grammar-constrained scratchpad extraction on hard-cut agents.

    systemPrompt: string

    System prompt given to each spawned web-research sub-agent.

    description?: string

    Override the tool description exposed to the model.

    maxTurns?: number

    Maximum tool-use turns per sub-agent before hard cut.

    20
    
    name?: string

    Override the tool name exposed to the model.

    "research"
    
    pressure?: PressureThresholds

    Context pressure thresholds for the sub-agent pool.

    trace?: boolean

    Enable trace output for sub-agent execution.

    false