代码拉取完成,页面将自动刷新
package mcp_golang
import "encoding/json"
type baseGetPromptRequestParamsArguments struct {
// We will deserialize the arguments into the users struct later on
Arguments json.RawMessage `json:"arguments,omitempty" yaml:"arguments,omitempty" mapstructure:"arguments,omitempty"`
// The name of the prompt or prompt template.
Name string `json:"name" yaml:"name" mapstructure:"name"`
}
// The server's response to a prompts/list request from the client.
type listPromptsResult struct {
// Prompts corresponds to the JSON schema field "prompts".
Prompts []*promptSchema `json:"prompts" yaml:"prompts" mapstructure:"prompts"`
}
// A promptSchema or prompt template that the server offers.
type promptSchema struct {
// A list of arguments to use for templating the prompt.
Arguments []promptSchemaArgument `json:"arguments,omitempty" yaml:"arguments,omitempty" mapstructure:"arguments,omitempty"`
// An optional description of what this prompt provides
Description *string `json:"description,omitempty" yaml:"description,omitempty" mapstructure:"description,omitempty"`
// The name of the prompt or prompt template.
Name string `json:"name" yaml:"name" mapstructure:"name"`
}
type promptSchemaArgument struct {
// A human-readable description of the argument.
Description *string `json:"description,omitempty" yaml:"description,omitempty" mapstructure:"description,omitempty"`
// The name of the argument.
Name string `json:"name" yaml:"name" mapstructure:"name"`
// Whether this argument must be provided.
Required *bool `json:"required,omitempty" yaml:"required,omitempty" mapstructure:"required,omitempty"`
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。