@mcp-z/mcp-sheets
Preparing search index...
mcp
toolFactories
cellsCopy
Function cellsCopy
cellsCopy
()
:
{
config
:
{
description
:
"Copy a cell range to another range in the same spreadsheet (same or different tab), like Google Sheets copy and paste-special. Default PASTE_NORMAL copies values, formulas (relative references adjust), formats and merges; pasteType selects one native paste-special mode. Cannot copy between spreadsheets: use sheet-copy-to first. To duplicate a whole tab or workbook use sheet-copy, sheet-copy-to or spreadsheet-copy. Use a1-notation prompt for range syntax."
;
inputSchema
:
ZodObject
<
{
destinationGid
:
ZodPipe
<
ZodUnion
<
readonly
[
ZodNumber
,
ZodString
]
>
,
ZodTransform
<
string
,
string
|
number
>
,
>
;
destinationRange
:
ZodString
;
id
:
ZodString
;
pasteOrientation
:
ZodDefault
<
ZodEnum
<
{
NORMAL
:
"NORMAL"
;
TRANSPOSE
:
"TRANSPOSE"
}
>
,
>
;
pasteType
:
ZodDefault
<
ZodEnum
<
{
PASTE_CONDITIONAL_FORMATTING
:
"PASTE_CONDITIONAL_FORMATTING"
;
PASTE_DATA_VALIDATION
:
"PASTE_DATA_VALIDATION"
;
PASTE_FORMAT
:
"PASTE_FORMAT"
;
PASTE_FORMULA
:
"PASTE_FORMULA"
;
PASTE_NO_BORDERS
:
"PASTE_NO_BORDERS"
;
PASTE_NORMAL
:
"PASTE_NORMAL"
;
PASTE_VALUES
:
"PASTE_VALUES"
;
}
,
>
,
>
;
sourceGid
:
ZodPipe
<
ZodUnion
<
readonly
[
ZodNumber
,
ZodString
]
>
,
ZodTransform
<
string
,
string
|
number
>
,
>
;
sourceRange
:
ZodString
;
}
,
$strip
,
>
;
outputSchema
:
ZodObject
<
{
result
:
ZodDiscriminatedUnion
<
[
ZodObject
<
{
destinationGid
:
ZodString
;
destinationRange
:
ZodString
;
destinationSheetTitle
:
ZodString
;
id
:
ZodString
;
pastedRange
:
ZodString
;
pasteOrientation
:
ZodEnum
<
{
NORMAL
:
"NORMAL"
;
TRANSPOSE
:
"TRANSPOSE"
}
,
>
;
pasteType
:
ZodEnum
<
{
PASTE_CONDITIONAL_FORMATTING
:
"PASTE_CONDITIONAL_FORMATTING"
;
PASTE_DATA_VALIDATION
:
"PASTE_DATA_VALIDATION"
;
PASTE_FORMAT
:
"PASTE_FORMAT"
;
PASTE_FORMULA
:
"PASTE_FORMULA"
;
PASTE_NO_BORDERS
:
"PASTE_NO_BORDERS"
;
PASTE_NORMAL
:
"PASTE_NORMAL"
;
PASTE_VALUES
:
"PASTE_VALUES"
;
}
,
>
;
sheetUrl
:
ZodString
;
sourceGid
:
ZodString
;
sourceRange
:
ZodString
;
sourceSheetTitle
:
ZodString
;
spreadsheetTitle
:
ZodString
;
spreadsheetUrl
:
ZodString
;
type
:
ZodLiteral
<
"success"
>
;
}
,
$strip
,
>
,
ZodObject
<
{}
,
$strip
>
,
]
,
"type"
,
>
;
}
,
$strip
,
>
;
}
;
handler
:
(
input
:
{
destinationGid
:
string
;
destinationRange
:
string
;
id
:
string
;
pasteOrientation
:
"NORMAL"
|
"TRANSPOSE"
;
pasteType
:
|
"PASTE_NORMAL"
|
"PASTE_VALUES"
|
"PASTE_FORMAT"
|
"PASTE_NO_BORDERS"
|
"PASTE_FORMULA"
|
"PASTE_DATA_VALIDATION"
|
"PASTE_CONDITIONAL_FORMATTING"
;
sourceGid
:
string
;
sourceRange
:
string
;
}
,
extra
:
EnrichedExtra
,
)
=>
Promise
<
{
[
key
:
string
]:
unknown
}
>
;
name
:
string
;
}
Returns
{
config
:
{
description
:
"Copy a cell range to another range in the same spreadsheet (same or different tab), like Google Sheets copy and paste-special. Default PASTE_NORMAL copies values, formulas (relative references adjust), formats and merges; pasteType selects one native paste-special mode. Cannot copy between spreadsheets: use sheet-copy-to first. To duplicate a whole tab or workbook use sheet-copy, sheet-copy-to or spreadsheet-copy. Use a1-notation prompt for range syntax."
;
inputSchema
:
ZodObject
<
{
destinationGid
:
ZodPipe
<
ZodUnion
<
readonly
[
ZodNumber
,
ZodString
]
>
,
ZodTransform
<
string
,
string
|
number
>
,
>
;
destinationRange
:
ZodString
;
id
:
ZodString
;
pasteOrientation
:
ZodDefault
<
ZodEnum
<
{
NORMAL
:
"NORMAL"
;
TRANSPOSE
:
"TRANSPOSE"
}
>
,
>
;
pasteType
:
ZodDefault
<
ZodEnum
<
{
PASTE_CONDITIONAL_FORMATTING
:
"PASTE_CONDITIONAL_FORMATTING"
;
PASTE_DATA_VALIDATION
:
"PASTE_DATA_VALIDATION"
;
PASTE_FORMAT
:
"PASTE_FORMAT"
;
PASTE_FORMULA
:
"PASTE_FORMULA"
;
PASTE_NO_BORDERS
:
"PASTE_NO_BORDERS"
;
PASTE_NORMAL
:
"PASTE_NORMAL"
;
PASTE_VALUES
:
"PASTE_VALUES"
;
}
,
>
,
>
;
sourceGid
:
ZodPipe
<
ZodUnion
<
readonly
[
ZodNumber
,
ZodString
]
>
,
ZodTransform
<
string
,
string
|
number
>
,
>
;
sourceRange
:
ZodString
;
}
,
$strip
,
>
;
outputSchema
:
ZodObject
<
{
result
:
ZodDiscriminatedUnion
<
[
ZodObject
<
{
destinationGid
:
ZodString
;
destinationRange
:
ZodString
;
destinationSheetTitle
:
ZodString
;
id
:
ZodString
;
pastedRange
:
ZodString
;
pasteOrientation
:
ZodEnum
<
{
NORMAL
:
"NORMAL"
;
TRANSPOSE
:
"TRANSPOSE"
}
,
>
;
pasteType
:
ZodEnum
<
{
PASTE_CONDITIONAL_FORMATTING
:
"PASTE_CONDITIONAL_FORMATTING"
;
PASTE_DATA_VALIDATION
:
"PASTE_DATA_VALIDATION"
;
PASTE_FORMAT
:
"PASTE_FORMAT"
;
PASTE_FORMULA
:
"PASTE_FORMULA"
;
PASTE_NO_BORDERS
:
"PASTE_NO_BORDERS"
;
PASTE_NORMAL
:
"PASTE_NORMAL"
;
PASTE_VALUES
:
"PASTE_VALUES"
;
}
,
>
;
sheetUrl
:
ZodString
;
sourceGid
:
ZodString
;
sourceRange
:
ZodString
;
sourceSheetTitle
:
ZodString
;
spreadsheetTitle
:
ZodString
;
spreadsheetUrl
:
ZodString
;
type
:
ZodLiteral
<
"success"
>
;
}
,
$strip
,
>
,
ZodObject
<
{}
,
$strip
>
,
]
,
"type"
,
>
;
}
,
$strip
,
>
;
}
;
handler
:
(
input
:
{
destinationGid
:
string
;
destinationRange
:
string
;
id
:
string
;
pasteOrientation
:
"NORMAL"
|
"TRANSPOSE"
;
pasteType
:
|
"PASTE_NORMAL"
|
"PASTE_VALUES"
|
"PASTE_FORMAT"
|
"PASTE_NO_BORDERS"
|
"PASTE_FORMULA"
|
"PASTE_DATA_VALIDATION"
|
"PASTE_CONDITIONAL_FORMATTING"
;
sourceGid
:
string
;
sourceRange
:
string
;
}
,
extra
:
EnrichedExtra
,
)
=>
Promise
<
{
[
key
:
string
]:
unknown
}
>
;
name
:
string
;
}
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
@mcp-z/mcp-sheets
Loading...