MCPcopy Create free account
hub / github.com/modelcontextprotocol/go-sdk / Complete

Method Complete

mcp/client.go:1021–1023  ·  view source on GitHub ↗
(ctx context.Context, params *CompleteParams)

Source from the content-addressed store, hash-verified

1019}
1020
1021func (cs *ClientSession) Complete(ctx context.Context, params *CompleteParams) (*CompleteResult, error) {
1022 return handleSend[*CompleteResult](ctx, methodComplete, newClientRequest(cs, orZero[Params](params)))
1023}
1024
1025// Subscribe sends a "resources/subscribe" request to the server, asking for
1026// notifications when the specified resource changes.

Callers 1

TestCompleteFunction · 0.80

Calls 1

newClientRequestFunction · 0.85

Tested by 1

TestCompleteFunction · 0.64