@mcp-z/mcp-outlook
Preparing search index...
mcp
promptFactories
draftEmail
Function draftEmail
draftEmail
()
:
{
config
:
{
argsSchema
:
{
context
:
ZodString
;
tone
:
ZodOptional
<
ZodString
>
}
;
description
:
string
;
}
;
handler
:
(
args
:
{
[
x
:
string
]:
unknown
}
,
_extra
:
RequestHandlerExtra
<
ServerRequest
,
ServerNotification
>
,
)
=>
Promise
<
{
messages
:
(
|
{
content
:
{
text
:
string
;
type
:
"text"
}
;
role
:
"system"
}
|
{
content
:
{
text
:
string
;
type
:
"text"
}
;
role
:
"user"
}
)
[]
;
}
,
>
;
name
:
string
;
}
Returns
{
config
:
{
argsSchema
:
{
context
:
ZodString
;
tone
:
ZodOptional
<
ZodString
>
}
;
description
:
string
;
}
;
handler
:
(
args
:
{
[
x
:
string
]:
unknown
}
,
_extra
:
RequestHandlerExtra
<
ServerRequest
,
ServerNotification
>
,
)
=>
Promise
<
{
messages
:
(
|
{
content
:
{
text
:
string
;
type
:
"text"
}
;
role
:
"system"
}
|
{
content
:
{
text
:
string
;
type
:
"text"
}
;
role
:
"user"
}
)
[]
;
}
,
>
;
name
:
string
;
}
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
@mcp-z/mcp-outlook
Loading...