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

    Function spreadsheetCopy

    • Returns {
          config: {
              description: "Copy an entire spreadsheet/workbook (all sheets, formatting, charts, named ranges, etc.). Creates in the same folder as the original. Uses Google Drive API.";
              inputSchema: ZodObject<
                  { id: ZodString; newTitle: ZodOptional<ZodCoercedString<unknown>> },
                  $strip,
              >;
              outputSchema: ZodObject<
                  {
                      result: ZodDiscriminatedUnion<
                          [
                              ZodObject<
                                  {
                                      completedAt: ZodString;
                                      itemsChanged: ZodNumber;
                                      itemsProcessed: ZodNumber;
                                      newId: ZodString;
                                      newTitle: ZodString;
                                      operationSummary: ZodString;
                                      sourceId: ZodString;
                                      sourceTitle: ZodString;
                                      spreadsheetUrl: ZodString;
                                      type: ZodLiteral<"success">;
                                  },
                                  $strip,
                              >,
                              ZodObject<{}, $strip>,
                          ],
                          "type",
                      >;
                  },
                  $strip,
              >;
          };
          handler: (
              __namedParameters: { id: string; newTitle?: string },
              extra: EnrichedExtra,
          ) => Promise<{ [key: string]: unknown }>;
          name: string;
      }