@mcp-z/mcp-gmail
    Preparing search index...

    Function labelAdd

    • Returns {
          config: {
              description: "Add a label to a Gmail message";
              inputSchema: ZodObject<
                  { id: ZodCoercedString<unknown>; label: ZodCoercedString<unknown> },
                  $strip,
              >;
              outputSchema: ZodObject<
                  {
                      result: ZodDiscriminatedUnion<
                          [
                              ZodObject<
                                  {
                                      item: ZodObject<{ id: ZodString; label: ZodString }, $strip>;
                                      type: ZodLiteral<"success">;
                                  },
                                  $strip,
                              >,
                              ZodObject<{}, $strip>,
                          ],
                          "type",
                      >;
                  },
                  $strip,
              >;
          };
          handler: (
              __namedParameters: { id: string; label: string },
              extra: EnrichedExtra,
          ) => Promise<
              {
                  content: { text: string; type: "text" }[];
                  structuredContent: {
                      result: { item: { id: string; label: string }; type: "success" };
                  };
              },
          >;
          name: string;
      }