Table of Contents

TTMSMCPCompletionEvent Event Type

Signature of the handler that supplies argument auto-completion candidates for a completion/complete request. Without a handler the server answers with an empty candidate list.

API unit family: TMS.MCP.Server

Parameters

Name Description
Sender Server that received the request.
ARef Reference object identifying what is being completed, typically a prompt or a resource template.
AArgument Object holding the argument name and the partial value typed so far.
AValues Candidate values to return. Leave empty when nothing matches.
ATotal Total number of matches available, which may exceed the number of returned values.
AHasMore Set to True when more candidates exist than were returned.