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

Struct ListToolsParams

mcp/protocol.go:851–858  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

849func (*ListRootsResult) isResult() {}
850
851type ListToolsParams struct {
852 // This property is reserved by the protocol to allow clients and servers to
853 // attach additional metadata to their responses.
854 Meta `json:"_meta,omitempty"`
855 // An opaque token representing the current pagination position. If provided,
856 // the server should return results starting after this cursor.
857 Cursor string `json:"cursor,omitempty"`
858}
859
860func (x *ListToolsParams) isParams() {}
861func (x *ListToolsParams) GetProgressToken() any { return getProgressToken(x) }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected