Skip to content

Documentation / @agentick/mcp / completeFromList

Function: completeFromList() ​

completeFromList(values): CompletionHandler

Defined in: protocol/completions.ts:67

Static array of values. Prefix-filters case-sensitively against the typed input. Returns the full list when input is empty.

ts
complete: { status: completeFromList(["open", "closed", "in_progress"]) }

Parameters ​

values ​

readonly string[]

Returns ​

CompletionHandler

Released under the ISC License.