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

Method cursorPtr

mcp/shared.go:573–573  ·  view source on GitHub ↗

Returns a pointer to the param's Cursor field.

()

Source from the content-addressed store, hash-verified

571type listParams interface {
572 // Returns a pointer to the param's Cursor field.
573 cursorPtr() *string
574}
575
576type listResult[T any] interface {

Callers 2

paginateListFunction · 0.65
paginateFunction · 0.65

Implementers 6

testListParamsmcp/server_test.go
ListPromptsParamsmcp/protocol.go
ListResourcesParamsmcp/protocol.go
ListToolsParamsmcp/protocol.go
ListTestParamsmcp/client_test.go

Calls

no outgoing calls

Tested by

no test coverage detected