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

    Function labelsList

    • Returns {
          config: {
              description: "List Gmail labels for label: query syntax. Case-sensitive.";
              inputSchema: ZodObject<{}, $strip>;
              outputSchema: ZodObject<
                  {
                      result: ZodDiscriminatedUnion<
                          [
                              ZodObject<
                                  {
                                      items: ZodArray<
                                          ZodObject<
                                              { id: ...; name: ...; type: ...; visibility: ... },
                                              $strip,
                                          >,
                                      >;
                                      type: ZodLiteral<"success">;
                                  },
                                  $strip,
                              >,
                              ZodObject<{}, $strip>,
                          ],
                          "type",
                      >;
                  },
                  $strip,
              >;
          };
          handler: (
              _args: Input,
              extra: EnrichedExtra,
          ) => Promise<
              {
                  content: { text: string; type: "text" }[];
                  structuredContent: {
                      result: {
                          items: {
                              id: string;
                              name: string;
                              type: "user" | "system";
                              visibility: "labelShow" | "labelHide" | "labelShowIfUnread";
                          }[];
                          type: "success";
                      };
                  };
              },
          >;
          name: string;
      }