vigiles API reference
    Preparing search index...

    Interface SubagentTrace

    A sub-agent (Task) run as a nested trace: its name + the tools it used.

    interface SubagentTrace {
        name: string;
        output: string;
        toolCalls: readonly ToolCall[];
    }
    Index

    Properties

    Properties

    name: string

    The subagent_type from the Task tool input.

    output: string

    The subagent's RETURNED text — the dispatch tool_result the orchestrator receives back. This is where a result() contract's vigiles:ok/vigiles:err block lands, so subagent(name, [output(/vigiles:ok/)]) can assert the typed outcome. "" if not captured.

    toolCalls: readonly ToolCall[]

    The tools the subagent invoked (events tagged with the Task's id).