@mcp-z/mcp-drive
Preparing search index...
mcp
toolFactories
fileMoveToTrash
Function fileMoveToTrash
fileMoveToTrash
()
:
{
config
:
{
description
:
"Move files to trash (recoverable for 30 days)."
;
inputSchema
:
ZodObject
<
{
ids
:
ZodArray
<
ZodString
>
}
,
$strip
>
;
outputSchema
:
ZodObject
<
{
result
:
ZodDiscriminatedUnion
<
[
ZodObject
<
{
failureCount
:
ZodNumber
;
failures
:
ZodOptional
<
ZodArray
<
ZodObject
<
(...)
,
(...)
>
>
>
;
operationSummary
:
ZodString
;
recoverable
:
ZodBoolean
;
recoverableDays
:
ZodNumber
;
successCount
:
ZodNumber
;
totalCount
:
ZodNumber
;
type
:
ZodLiteral
<
"success"
>
;
}
,
$strip
,
>
,
ZodObject
<
{}
,
$strip
>
,
]
,
"type"
,
>
;
}
,
$strip
,
>
;
title
:
"Move Files to Trash"
;
}
;
handler
:
(
__namedParameters
:
{
ids
:
string
[]
}
,
extra
:
EnrichedExtra
,
)
=>
Promise
<
{
[
key
:
string
]:
unknown
}
>
;
name
:
"file-move-to-trash"
;
}
Returns
{
config
:
{
description
:
"Move files to trash (recoverable for 30 days)."
;
inputSchema
:
ZodObject
<
{
ids
:
ZodArray
<
ZodString
>
}
,
$strip
>
;
outputSchema
:
ZodObject
<
{
result
:
ZodDiscriminatedUnion
<
[
ZodObject
<
{
failureCount
:
ZodNumber
;
failures
:
ZodOptional
<
ZodArray
<
ZodObject
<
(...)
,
(...)
>
>
>
;
operationSummary
:
ZodString
;
recoverable
:
ZodBoolean
;
recoverableDays
:
ZodNumber
;
successCount
:
ZodNumber
;
totalCount
:
ZodNumber
;
type
:
ZodLiteral
<
"success"
>
;
}
,
$strip
,
>
,
ZodObject
<
{}
,
$strip
>
,
]
,
"type"
,
>
;
}
,
$strip
,
>
;
title
:
"Move Files to Trash"
;
}
;
handler
:
(
__namedParameters
:
{
ids
:
string
[]
}
,
extra
:
EnrichedExtra
,
)
=>
Promise
<
{
[
key
:
string
]:
unknown
}
>
;
name
:
"file-move-to-trash"
;
}
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
@mcp-z/mcp-drive
Loading...