@mcp-z/mcp-sheets
Preparing search index...
mcp
toolFactories
sheetDelete
Function sheetDelete
sheetDelete
()
:
{
config
:
{
description
:
"Permanently delete sheets from a spreadsheet. Cannot delete the last remaining sheet."
;
inputSchema
:
ZodObject
<
{
gids
:
ZodArray
<
ZodCoercedString
<
unknown
>
>
;
id
:
ZodString
}
,
$strip
,
>
;
outputSchema
:
ZodObject
<
{
result
:
ZodDiscriminatedUnion
<
[
ZodObject
<
{
completedAt
:
ZodString
;
failures
:
ZodOptional
<
ZodArray
<
ZodObject
<
(...)
,
(...)
>
>
>
;
id
:
ZodString
;
itemsChanged
:
ZodNumber
;
itemsProcessed
:
ZodNumber
;
operationSummary
:
ZodString
;
recoverable
:
ZodLiteral
<
false
>
;
spreadsheetUrl
:
ZodOptional
<
ZodString
>
;
type
:
ZodLiteral
<
"success"
>
;
}
,
$strip
,
>
,
ZodObject
<
{}
,
$strip
>
,
]
,
"type"
,
>
;
}
,
$strip
,
>
;
}
;
handler
:
(
__namedParameters
:
{
gids
:
string
[]
;
id
:
string
}
,
extra
:
EnrichedExtra
,
)
=>
Promise
<
{
[
key
:
string
]:
unknown
}
>
;
name
:
string
;
}
Returns
{
config
:
{
description
:
"Permanently delete sheets from a spreadsheet. Cannot delete the last remaining sheet."
;
inputSchema
:
ZodObject
<
{
gids
:
ZodArray
<
ZodCoercedString
<
unknown
>
>
;
id
:
ZodString
}
,
$strip
,
>
;
outputSchema
:
ZodObject
<
{
result
:
ZodDiscriminatedUnion
<
[
ZodObject
<
{
completedAt
:
ZodString
;
failures
:
ZodOptional
<
ZodArray
<
ZodObject
<
(...)
,
(...)
>
>
>
;
id
:
ZodString
;
itemsChanged
:
ZodNumber
;
itemsProcessed
:
ZodNumber
;
operationSummary
:
ZodString
;
recoverable
:
ZodLiteral
<
false
>
;
spreadsheetUrl
:
ZodOptional
<
ZodString
>
;
type
:
ZodLiteral
<
"success"
>
;
}
,
$strip
,
>
,
ZodObject
<
{}
,
$strip
>
,
]
,
"type"
,
>
;
}
,
$strip
,
>
;
}
;
handler
:
(
__namedParameters
:
{
gids
:
string
[]
;
id
:
string
}
,
extra
:
EnrichedExtra
,
)
=>
Promise
<
{
[
key
:
string
]:
unknown
}
>
;
name
:
string
;
}
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
@mcp-z/mcp-sheets
Loading...