FoundryVTT MCP Server Documentation - v0.9.2
    Preparing search index...

    Interface FoundryWebSocketMessage

    Structure for WebSocket messages exchanged with FoundryVTT

    Defines the format for real-time communication messages between the MCP server and FoundryVTT.

    FoundryWebSocketMessage

    const message: FoundryWebSocketMessage = {
    type: 'combatUpdate',
    data: { round: 3, turn: 2 },
    user: 'user-123',
    timestamp: '2024-01-15T10:30:00Z'
    };
    interface FoundryWebSocketMessage {
        type: string;
        data?: any;
        user?: string;
        timestamp: string;
    }
    Index

    Properties

    type: string
    data?: any
    user?: string
    timestamp: string