ACP v2 (Preview) TypeScript SDK — UNSTABLE - v2.12.1
    Preparing search index...

    Type Alias McpMessageParams

    Wire params of an mcp/message request or notification.

    type McpMessageParams = {
        serverId: string;
        requestId: string;
        method: string;
        params?: Record<string, unknown> | null;
        sessionId?: string | null;
        toolCallId?: string | null;
        _meta?: Record<string, unknown> | null;
    }
    Index
    serverId: string
    requestId: string
    method: string
    params?: Record<string, unknown> | null
    sessionId?: string | null

    Requests only: the ACP session whose work caused the request.

    toolCallId?: string | null

    Requests only: the tool call in that session the request is part of.

    _meta?: Record<string, unknown> | null