@modelcontextprotocol/sdk
Preparing search index...
types
assertCompleteRequestPrompt
Function assertCompleteRequestPrompt
assertCompleteRequestPrompt
(
request
:
{
method
:
"completion/complete"
;
params
:
{
_meta
?:
{
progressToken
?:
string
|
number
;
[
key
:
string
]:
unknown
}
;
argument
:
{
name
:
string
;
value
:
string
}
;
context
?:
{
arguments
?:
{
[
key
:
string
]:
string
}
}
;
ref
:
|
{
type
:
"ref/resource"
;
uri
:
string
}
|
{
name
:
string
;
type
:
"ref/prompt"
}
;
}
;
}
,
)
:
asserts
request
is
{
method
:
"completion/complete"
;
params
:
{
_meta
?:
{
progressToken
?:
string
|
number
;
[
key
:
string
]:
unknown
}
;
argument
:
{
name
:
string
;
value
:
string
}
;
context
?:
{
arguments
?:
{
[
key
:
string
]:
string
}
}
;
ref
:
{
name
:
string
;
type
:
"ref/prompt"
}
;
}
;
}
Parameters
request
:
{
method
:
"completion/complete"
;
params
:
{
_meta
?:
{
progressToken
?:
string
|
number
;
[
key
:
string
]:
unknown
}
;
argument
:
{
name
:
string
;
value
:
string
}
;
context
?:
{
arguments
?:
{
[
key
:
string
]:
string
}
}
;
ref
:
|
{
type
:
"ref/resource"
;
uri
:
string
}
|
{
name
:
string
;
type
:
"ref/prompt"
}
;
}
;
}
Returns
asserts
request
is
{
method
:
"completion/complete"
;
params
:
{
_meta
?:
{
progressToken
?:
string
|
number
;
[
key
:
string
]:
unknown
}
;
argument
:
{
name
:
string
;
value
:
string
}
;
context
?:
{
arguments
?:
{
[
key
:
string
]:
string
}
}
;
ref
:
{
name
:
string
;
type
:
"ref/prompt"
}
;
}
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@modelcontextprotocol/sdk
Loading...