Angular Modernizer
    Preparing search index...

    MCP tool that follows the payload of a component's outputs across the template boundary: emit sites, the host bindings and handlers that receive the value, and what the handler methods do with $event.

    Logic lives in OutputFlowTracer (@angular-modernizer/api); this tool resolves the project, validates arguments and applies the compact output contract (maxResults caps emit sites, bound hosts and unbound hosts per output).

    // Via MCP:
    // tool: trace-output-flow
    // args: { className: 'ItemComponent', output: 'formError', projectRoot: '/project' }

    Implements

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    annotations: ToolAnnotations = ...

    Behavior hints for clients (MCP 2025-03-26); hints, not guarantees.

    description: string = ...

    Human-readable description of what the tool does.

    name: "trace-output-flow" = 'trace-output-flow'

    Unique tool name.

    title: "Trace Output Flow" = 'Trace Output Flow'

    Display name for clients (MCP 2025-06-18).

    Methods

    • Execute the tool with given arguments.

      Parameters

      • args: Record<string, unknown>

        Tool arguments validated against inputSchema

      • ctx: ToolContext = {}

        Cancellation and progress of the MCP request (absent in direct calls)

      Returns Promise<TraceOutputFlowOutput>

      Tool execution result