@mcp-z/mcp-outlook
Preparing search index...
mcp
toolFactories
labelAdd
Function labelAdd
labelAdd
()
:
{
config
:
{
description
:
"Add a label/category or move message to a folder in Outlook"
;
inputSchema
:
ZodObject
<
{
id
:
ZodCoercedString
<
unknown
>
;
labels
:
ZodArray
<
ZodCoercedString
<
unknown
>
>
;
}
,
$strip
,
>
;
outputSchema
:
ZodObject
<
{
result
:
ZodDiscriminatedUnion
<
[
ZodObject
<
{
id
:
ZodString
;
labels
:
ZodOptional
<
ZodArray
<
ZodString
>
>
;
type
:
ZodLiteral
<
"success"
>
;
}
,
$strip
,
>
,
ZodObject
<
{}
,
$strip
>
,
]
,
"type"
,
>
;
}
,
$strip
,
>
;
}
;
handler
:
(
__namedParameters
:
{
id
:
string
;
labels
:
string
[]
}
,
extra
:
EnrichedExtra
,
)
=>
Promise
<
{
[
key
:
string
]:
unknown
}
>
;
name
:
string
;
}
Returns
{
config
:
{
description
:
"Add a label/category or move message to a folder in Outlook"
;
inputSchema
:
ZodObject
<
{
id
:
ZodCoercedString
<
unknown
>
;
labels
:
ZodArray
<
ZodCoercedString
<
unknown
>
>
;
}
,
$strip
,
>
;
outputSchema
:
ZodObject
<
{
result
:
ZodDiscriminatedUnion
<
[
ZodObject
<
{
id
:
ZodString
;
labels
:
ZodOptional
<
ZodArray
<
ZodString
>
>
;
type
:
ZodLiteral
<
"success"
>
;
}
,
$strip
,
>
,
ZodObject
<
{}
,
$strip
>
,
]
,
"type"
,
>
;
}
,
$strip
,
>
;
}
;
handler
:
(
__namedParameters
:
{
id
:
string
;
labels
:
string
[]
}
,
extra
:
EnrichedExtra
,
)
=>
Promise
<
{
[
key
:
string
]:
unknown
}
>
;
name
:
string
;
}
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
@mcp-z/mcp-outlook
Loading...