agent-web-tools - v0.3.0
    Preparing search index...

    Interface StructuredDomToolCall

    A tool call emitted by the remote LLM, dispatched to the widget via the agent backend's streaming response (e.g. SSE event with type: 'dom_tool').

    interface StructuredDomToolCall {
        tool_call_id: string;
        tool: string;
        params: Record<string, unknown>;
    }
    Index

    Properties

    tool_call_id: string

    Maps to the OpenAI tool_call.id; preserved across the round trip so results can be correlated as role: 'tool' messages.

    tool: string

    Tool name with the web_ prefix (e.g. web_click, web_fillForm).

    params: Record<string, unknown>

    Parameters mapped 1:1 to the underlying AgentDOM method args.