@mcp-z/mcp-sheets
Preparing search index...
mcp
toolFactories
sheetCopyTo
Function sheetCopyTo
sheetCopyTo
()
:
{
config
:
{
description
:
"Copy a sheet to another spreadsheet. Copies all data, formatting, and charts."
;
inputSchema
:
ZodObject
<
{
destinationId
:
ZodString
;
newTitle
:
ZodOptional
<
ZodCoercedString
<
unknown
>
>
;
sourceGid
:
ZodCoercedString
<
unknown
>
;
sourceId
:
ZodString
;
}
,
$strip
,
>
;
outputSchema
:
ZodObject
<
{
result
:
ZodDiscriminatedUnion
<
[
ZodObject
<
{
completedAt
:
ZodString
;
destinationGid
:
ZodString
;
destinationId
:
ZodString
;
destinationTitle
:
ZodString
;
itemsChanged
:
ZodNumber
;
itemsProcessed
:
ZodNumber
;
operationSummary
:
ZodString
;
renamed
:
ZodBoolean
;
sheetUrl
:
ZodString
;
sourceGid
:
ZodString
;
sourceId
:
ZodString
;
sourceTitle
:
ZodString
;
type
:
ZodLiteral
<
"success"
>
;
}
,
$strip
,
>
,
ZodObject
<
{}
,
$strip
>
,
]
,
"type"
,
>
;
}
,
$strip
,
>
;
}
;
handler
:
(
__namedParameters
:
{
destinationId
:
string
;
newTitle
?:
string
;
sourceGid
:
string
;
sourceId
:
string
;
}
,
extra
:
EnrichedExtra
,
)
=>
Promise
<
{
[
key
:
string
]:
unknown
}
>
;
name
:
string
;
}
Returns
{
config
:
{
description
:
"Copy a sheet to another spreadsheet. Copies all data, formatting, and charts."
;
inputSchema
:
ZodObject
<
{
destinationId
:
ZodString
;
newTitle
:
ZodOptional
<
ZodCoercedString
<
unknown
>
>
;
sourceGid
:
ZodCoercedString
<
unknown
>
;
sourceId
:
ZodString
;
}
,
$strip
,
>
;
outputSchema
:
ZodObject
<
{
result
:
ZodDiscriminatedUnion
<
[
ZodObject
<
{
completedAt
:
ZodString
;
destinationGid
:
ZodString
;
destinationId
:
ZodString
;
destinationTitle
:
ZodString
;
itemsChanged
:
ZodNumber
;
itemsProcessed
:
ZodNumber
;
operationSummary
:
ZodString
;
renamed
:
ZodBoolean
;
sheetUrl
:
ZodString
;
sourceGid
:
ZodString
;
sourceId
:
ZodString
;
sourceTitle
:
ZodString
;
type
:
ZodLiteral
<
"success"
>
;
}
,
$strip
,
>
,
ZodObject
<
{}
,
$strip
>
,
]
,
"type"
,
>
;
}
,
$strip
,
>
;
}
;
handler
:
(
__namedParameters
:
{
destinationId
:
string
;
newTitle
?:
string
;
sourceGid
:
string
;
sourceId
:
string
;
}
,
extra
:
EnrichedExtra
,
)
=>
Promise
<
{
[
key
:
string
]:
unknown
}
>
;
name
:
string
;
}
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
@mcp-z/mcp-sheets
Loading...