mcp-use TypeScript API
Preparing search index...
mcp-use
index
CompletionCallback
Type Alias CompletionCallback
CompletionCallback
:
(
value
:
string
,
context
?:
CompletionContext
,
)
=>
string
[]
|
Promise
<
string
[]
>
Callback form: return suggestions for the current (partial) value.
Type Declaration
(
value
:
string
,
context
?:
CompletionContext
)
:
string
[]
|
Promise
<
string
[]
>
Parameters
value
:
string
Optional
context
:
CompletionContext
Returns
string
[]
|
Promise
<
string
[]
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
mcp-use TypeScript API
Loading...
Callback form: return suggestions for the current (partial) value.