@mcp-z/mcp-sheets
Preparing search index...
mcp
toolFactories
dimensionsMove
Function dimensionsMove
dimensionsMove
()
:
{
config
:
{
description
:
"Move rows or columns within a sheet to a new position. Use 0-based indices. The destinationIndex is where the rows/columns will be moved TO."
;
inputSchema
:
ZodObject
<
{
destinationIndex
:
ZodNumber
;
dimension
:
ZodEnum
<
{
COLUMNS
:
"COLUMNS"
;
ROWS
:
"ROWS"
}
>
;
endIndex
:
ZodNumber
;
gid
:
ZodCoercedString
<
unknown
>
;
id
:
ZodString
;
startIndex
:
ZodNumber
;
}
,
$strip
,
>
;
outputSchema
:
ZodObject
<
{
result
:
ZodDiscriminatedUnion
<
[
ZodObject
<
{
destinationIndex
:
ZodNumber
;
dimension
:
ZodEnum
<
{
COLUMNS
:
"COLUMNS"
;
ROWS
:
"ROWS"
}
>
;
gid
:
ZodString
;
id
:
ZodString
;
movedCount
:
ZodNumber
;
sheetTitle
:
ZodString
;
sheetUrl
:
ZodString
;
sourceRange
:
ZodObject
<
{
endIndex
:
ZodNumber
;
startIndex
:
ZodNumber
}
,
$strip
,
>
;
spreadsheetTitle
:
ZodString
;
spreadsheetUrl
:
ZodString
;
type
:
ZodLiteral
<
"success"
>
;
}
,
$strip
,
>
,
ZodObject
<
{}
,
$strip
>
,
]
,
"type"
,
>
;
}
,
$strip
,
>
;
}
;
handler
:
(
__namedParameters
:
{
destinationIndex
:
number
;
dimension
:
"ROWS"
|
"COLUMNS"
;
endIndex
:
number
;
gid
:
string
;
id
:
string
;
startIndex
:
number
;
}
,
extra
:
EnrichedExtra
,
)
=>
Promise
<
{
[
key
:
string
]:
unknown
}
>
;
name
:
string
;
}
Returns
{
config
:
{
description
:
"Move rows or columns within a sheet to a new position. Use 0-based indices. The destinationIndex is where the rows/columns will be moved TO."
;
inputSchema
:
ZodObject
<
{
destinationIndex
:
ZodNumber
;
dimension
:
ZodEnum
<
{
COLUMNS
:
"COLUMNS"
;
ROWS
:
"ROWS"
}
>
;
endIndex
:
ZodNumber
;
gid
:
ZodCoercedString
<
unknown
>
;
id
:
ZodString
;
startIndex
:
ZodNumber
;
}
,
$strip
,
>
;
outputSchema
:
ZodObject
<
{
result
:
ZodDiscriminatedUnion
<
[
ZodObject
<
{
destinationIndex
:
ZodNumber
;
dimension
:
ZodEnum
<
{
COLUMNS
:
"COLUMNS"
;
ROWS
:
"ROWS"
}
>
;
gid
:
ZodString
;
id
:
ZodString
;
movedCount
:
ZodNumber
;
sheetTitle
:
ZodString
;
sheetUrl
:
ZodString
;
sourceRange
:
ZodObject
<
{
endIndex
:
ZodNumber
;
startIndex
:
ZodNumber
}
,
$strip
,
>
;
spreadsheetTitle
:
ZodString
;
spreadsheetUrl
:
ZodString
;
type
:
ZodLiteral
<
"success"
>
;
}
,
$strip
,
>
,
ZodObject
<
{}
,
$strip
>
,
]
,
"type"
,
>
;
}
,
$strip
,
>
;
}
;
handler
:
(
__namedParameters
:
{
destinationIndex
:
number
;
dimension
:
"ROWS"
|
"COLUMNS"
;
endIndex
:
number
;
gid
:
string
;
id
:
string
;
startIndex
:
number
;
}
,
extra
:
EnrichedExtra
,
)
=>
Promise
<
{
[
key
:
string
]:
unknown
}
>
;
name
:
string
;
}
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
@mcp-z/mcp-sheets
Loading...