MCP TypeScript SDK
    Preparing search index...

    Variable TaskStatusNotificationSchemaConst

    TaskStatusNotificationSchema: ZodObject<
        {
            method: ZodLiteral<"notifications/tasks/status">;
            params: ZodObject<
                {
                    _meta: ZodOptional<
                        ZodObject<
                            {
                                "io.modelcontextprotocol/related-task": ZodOptional<
                                    ZodObject<{ taskId: ZodString }, $strip>,
                                >;
                                progressToken: ZodOptional<ZodUnion<readonly [ZodString, ZodNumber]>>;
                            },
                            $loose,
                        >,
                    >;
                    createdAt: ZodString;
                    lastUpdatedAt: ZodString;
                    pollInterval: ZodOptional<ZodNumber>;
                    status: ZodEnum<
                        {
                            cancelled: "cancelled";
                            completed: "completed";
                            failed: "failed";
                            input_required: "input_required";
                            working: "working";
                        },
                    >;
                    statusMessage: ZodOptional<ZodString>;
                    taskId: ZodString;
                    ttl: ZodUnion<readonly [ZodNumber, ZodNull]>;
                },
                $strip,
            >;
        },
        $strip,
    > = ...

    A notification sent when a task's status changes.