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

    Function filesSearch

    • Returns {
          config: {
              description: "Search Google Drive files with flexible field selection for optimal performance.";
              inputSchema: ZodObject<
                  {
                      fields: ZodOptional<ZodString>;
                      query: ZodType<
                          string
                          | schemas.DriveQueryObject,
                          unknown,
                          $ZodTypeInternals<string | schemas.DriveQueryObject, unknown>,
                      >;
                      shape: ZodDefault<ZodOptional<ZodEnum<{}>>>;
                  },
                  $strip,
              >;
              outputSchema: ZodObject<
                  {
                      result: ZodUnion<
                          readonly [
                              ZodObject<
                                  {
                                      count: ZodNumber;
                                      items: ZodArray<
                                          ZodObject<
                                              {
                                                  createdTime: ...;
                                                  id: ...;
                                                  mimeType: ...;
                                                  modifiedTime: ...;
                                                  name: ...;
                                                  owners: ...;
                                                  parents: ...;
                                                  permissions: ...;
                                                  shared: ...;
                                                  size: ...;
                                                  starred: ...;
                                                  trashed: ...;
                                                  version: ...;
                                                  webContentLink: ...;
                                                  webViewLink: ...;
                                              },
                                              $strip,
                                          >,
                                      >;
                                      nextPageToken: ZodOptional<ZodString>;
                                      shape: ZodLiteral<"objects">;
                                      type: ZodLiteral<"success">;
                                  },
                                  $strip,
                              >,
                              ZodObject<
                                  {
                                      columns: ZodArray<ZodString>;
                                      count: ZodNumber;
                                      nextPageToken: ZodOptional<ZodString>;
                                      rows: ZodArray<ZodArray<ZodUnknown>>;
                                      shape: ZodLiteral<"arrays">;
                                      type: ZodLiteral<"success">;
                                  },
                                  $strip,
                              >,
                              ZodObject<{}, $strip>,
                          ],
                      >;
                  },
                  $strip,
              >;
              title: "Search Drive Files";
          };
          handler: (
              __namedParameters: {
                  fields?: string;
                  query: string | schemas.DriveQueryObject;
                  shape: "objects" | "arrays";
              },
              extra: EnrichedExtra,
          ) => Promise<{ [key: string]: unknown }>;
          name: "files-search";
      }