Frodo Library - v4.0.0-42
    Preparing search index...

    Type Alias McpExecutionResultMetadata

    Optional execution metadata surfaced alongside tool results.

    type McpExecutionResultMetadata = {
        fieldCounts?: Record<string, number>;
        isLarge?: boolean;
        isTruncated?: boolean;
        itemCount?: number;
        objectKeys?: string[];
        payloadSizeBytes?: number;
        payloadSizeHuman?: string;
        topLevelType:
            | "array"
            | "object"
            | "string"
            | "number"
            | "boolean"
            | "null"
            | "undefined";
        warning?: string;
    }
    Index

    Properties

    fieldCounts?: Record<string, number>

    Count summary for top-level arrays/records inside the payload.

    isLarge?: boolean

    Whether the payload is considered large for inline agent use.

    isTruncated?: boolean

    Whether the payload was truncated by the transport layer.

    itemCount?: number

    Number of items when the top-level payload is an array.

    objectKeys?: string[]

    Top-level keys when the payload is an object.

    payloadSizeBytes?: number

    Estimated serialized payload size in bytes.

    payloadSizeHuman?: string

    Human-readable payload size string.

    topLevelType:
        | "array"
        | "object"
        | "string"
        | "number"
        | "boolean"
        | "null"
        | "undefined"

    Top-level JSON shape returned by the tool call.

    warning?: string

    Optional advisory warning for large or truncated payloads.