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