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

Struct ListPromptsParams

mcp/protocol.go:745–752  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

743func (x *InitializedParams) SetProgressToken(t any) { setProgressToken(x, t) }
744
745type ListPromptsParams struct {
746 // This property is reserved by the protocol to allow clients and servers to
747 // attach additional metadata to their responses.
748 Meta `json:"_meta,omitempty"`
749 // An opaque token representing the current pagination position. If provided,
750 // the server should return results starting after this cursor.
751 Cursor string `json:"cursor,omitempty"`
752}
753
754func (x *ListPromptsParams) isParams() {}
755func (x *ListPromptsParams) GetProgressToken() any { return getProgressToken(x) }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected