@mcp-z/mcp-drive
Preparing search index...
mcp
toolFactories
folderPath
Function folderPath
folderPath
()
:
{
config
:
{
description
:
"Get full path from folder to root. Returns human-readable path and items with IDs."
;
inputSchema
:
ZodObject
<
{
folderId
:
ZodString
}
,
$strip
>
;
outputSchema
:
ZodObject
<
{
result
:
ZodDiscriminatedUnion
<
[
ZodObject
<
{
items
:
ZodArray
<
ZodObject
<
{
id
:
...
;
name
:
...
}
,
$strip
>
>
;
path
:
ZodString
;
type
:
ZodLiteral
<
"success"
>
;
}
,
$strip
,
>
,
ZodObject
<
{}
,
$strip
>
,
]
,
"type"
,
>
;
}
,
$strip
,
>
;
title
:
"Get Folder Path"
;
}
;
handler
:
(
__namedParameters
:
{
folderId
:
string
}
,
extra
:
EnrichedExtra
,
)
=>
Promise
<
{
[
key
:
string
]:
unknown
}
>
;
name
:
"folder-path"
;
}
Returns
{
config
:
{
description
:
"Get full path from folder to root. Returns human-readable path and items with IDs."
;
inputSchema
:
ZodObject
<
{
folderId
:
ZodString
}
,
$strip
>
;
outputSchema
:
ZodObject
<
{
result
:
ZodDiscriminatedUnion
<
[
ZodObject
<
{
items
:
ZodArray
<
ZodObject
<
{
id
:
...
;
name
:
...
}
,
$strip
>
>
;
path
:
ZodString
;
type
:
ZodLiteral
<
"success"
>
;
}
,
$strip
,
>
,
ZodObject
<
{}
,
$strip
>
,
]
,
"type"
,
>
;
}
,
$strip
,
>
;
title
:
"Get Folder Path"
;
}
;
handler
:
(
__namedParameters
:
{
folderId
:
string
}
,
extra
:
EnrichedExtra
,
)
=>
Promise
<
{
[
key
:
string
]:
unknown
}
>
;
name
:
"folder-path"
;
}
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
@mcp-z/mcp-drive
Loading...