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

Struct GetPromptParams

mcp/protocol.go:646–654  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

644}
645
646type GetPromptParams struct {
647 // This property is reserved by the protocol to allow clients and servers to
648 // attach additional metadata to their responses.
649 Meta `json:"_meta,omitempty"`
650 // Arguments to use for templating the prompt.
651 Arguments map[string]string `json:"arguments,omitempty"`
652 // The name of the prompt or prompt template.
653 Name string `json:"name"`
654}
655
656func (x *GetPromptParams) isParams() {}
657func (x *GetPromptParams) GetProgressToken() any { return getProgressToken(x) }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected