completions
capability:
completion/complete
request specifying
what is being completed through a reference type:
Request:
Type | Description | Example |
---|---|---|
ref/prompt | References a prompt by name | {"type": "ref/prompt", "name": "code_review"} |
ref/resource | References a resource URI | {"type": "ref/resource", "uri": "file:///{path}"} |
ref
: A PromptReference
or ResourceReference
argument
: Object containing:
name
: Argument namevalue
: Current valuecompletion
: Object containing:
values
: Array of suggestions (max 100)total
: Optional total matcheshasMore
: Additional results flag-32601
(Capability not supported)-32602
(Invalid params)-32602
(Invalid params)-32603
(Internal error)