Documentation
¶
Overview ¶
Package stocktool serves the stock tools of app api over MCP.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler serves the stock tools.
func (*Handler) CheckStock ¶
func (h *Handler) CheckStock(ctx context.Context, _ *mcp.CallToolRequest, in Input) (*mcp.CallToolResult, Output, error)
CheckStock tells whether an item can be ordered. @MCP
Click to show internal directories.
Click to hide internal directories.