mcp-use TypeScript API
    Preparing search index...

    Interface ModelContextAttachment

    One selected attachment. Restored keys are runtime-local, not persistent IDs.

    interface ModelContextAttachment {
        block:
            | ModelContextText
            | ModelContextImageData
            | ModelContextResourceLink
            | ModelContextResource;
        key: string;
    }
    Index

    Friendly block, including decoded title and presentation after host restoration.

    key: string

    Opaque application key or a reserved key assigned during host restoration.