@modelcontextprotocol/sdk
Preparing search index...
server/completable
CompleteCallback
Type Alias CompleteCallback<T>
CompleteCallback
:
(
value
:
T
[
"_input"
]
,
context
?:
{
arguments
?:
Record
<
string
,
string
>
}
,
)
=>
T
[
"_input"
]
[]
|
Promise
<
T
[
"_input"
]
[]
>
Type Parameters
T
extends
ZodTypeAny
=
ZodTypeAny
Type Declaration
(
value
:
T
[
"_input"
]
,
context
?:
{
arguments
?:
Record
<
string
,
string
>
}
,
)
:
T
[
"_input"
]
[]
|
Promise
<
T
[
"_input"
]
[]
>
Parameters
value
:
T
[
"_input"
]
Optional
context
:
{
arguments
?:
Record
<
string
,
string
>
}
Returns
T
[
"_input"
]
[]
|
Promise
<
T
[
"_input"
]
[]
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@modelcontextprotocol/sdk
Loading...