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

Struct ListRootsParams

mcp/protocol.go:829–833  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

827func (x *ListResourcesResult) nextCursorPtr() *string { return &x.NextCursor }
828
829type ListRootsParams struct {
830 // This property is reserved by the protocol to allow clients and servers to
831 // attach additional metadata to their responses.
832 Meta `json:"_meta,omitempty"`
833}
834
835func (x *ListRootsParams) isParams() {}
836func (x *ListRootsParams) GetProgressToken() any { return getProgressToken(x) }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected