Creating Plot Twists
    Preparing search index...

    Type Alias ThreadMeta

    ThreadMeta: { [key: string]: JSONValue }

    Represents metadata about a thread, typically from an external system.

    Thread metadata enables storing additional information about threads, which is useful for synchronization, linking back to external systems, and storing tool-specific data.

    Must be valid JSON data (strings, numbers, booleans, null, objects, arrays). Functions and other non-JSON values are not supported.

    Type Declaration

    • [key: string]: JSONValue

      Source-specific properties and metadata

    // Calendar event metadata
    await plot.createThread({
    title: "Team Meeting",
    meta: {
    calendarId: "primary",
    htmlLink: "https://calendar.google.com/event/abc123",
    conferenceData: { ... }
    }
    });

    // Project issue metadata
    await plot.createThread({
    title: "Fix login bug",
    meta: {
    projectId: "TEAM",
    issueNumber: 123,
    url: "https://linear.app/team/issue/TEAM-123"
    }
    });