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

    Interface FoundryAPIResponse<T>

    Generic API response structure for FoundryVTT REST API

    Standardized response format for API calls including success status, data payload, and error information.

    FoundryAPIResponse

    const response: FoundryAPIResponse<FoundryActor[]> = {
    success: true,
    data: [],
    message: 'Actors retrieved successfully'
    };
    interface FoundryAPIResponse<T = any> {
        success: boolean;
        data?: T;
        error?: string;
        message?: string;
    }

    Type Parameters

    • T = any

      Type of the response data

    Index

    Properties

    success: boolean
    data?: T
    error?: string
    message?: string