Documentation
¶
Index ¶
Constants ¶
View Source
const ( ToolPingName = "ping" ToolPingDesc = "当用户想知道服务器是否在线时,可以使用此工具" )
Variables ¶
View Source
var ToolPingRequestBody = schema.NewParamsOneOfByParams(*tools.Reflect(ToolPingArgs{}))
Functions ¶
This section is empty.
Types ¶
type ToolPing ¶
type ToolPing struct { tool.InvokableTool // contains filtered or unexported fields }
func Ping ¶
func Ping(strategy strategy.GetServerCaller) *ToolPing
type ToolPingArgs ¶
type ToolPingArgs struct {
Argument string `json:"argument" desc:"填入角色设定名" required:"true"`
}
Click to show internal directories.
Click to hide internal directories.