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

    Function categoriesList

    • Returns {
          config: {
              description: "List Gmail category labels (CATEGORY_*) with IDs and descriptions.";
              inputSchema: ZodObject<{}, $strip>;
              outputSchema: ZodObject<
                  {
                      result: ZodDiscriminatedUnion<
                          [
                              ZodObject<
                                  {
                                      items: ZodArray<
                                          ZodObject<{ description: ...; id: ...; name: ... }, $strip>,
                                      >;
                                      type: ZodLiteral<"success">;
                                  },
                                  $strip,
                              >,
                              ZodObject<{}, $strip>,
                          ],
                          "type",
                      >;
                  },
                  $strip,
              >;
          };
          handler: (
              _args: Input,
              extra: EnrichedExtra,
          ) => Promise<
              {
                  content: { text: string; type: "text" }[];
                  structuredContent: {
                      result: {
                          items: { description: string; id: string; name: string }[];
                          type: "success";
                      };
                  };
              },
          >;
          name: string;
      }