Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var PathParamRegex = regexp.MustCompile(`[:\*]([a-zA-Z0-9_]+)`)
PathParamRegex is used to find path parameters like :id or *action
Functions ¶
func ConvertRoutesToTools ¶
func ConvertRoutesToTools(routes gin.RoutesInfo, registeredSchemas map[string]types.RegisteredSchemaInfo) ([]types.Tool, map[string]types.Operation)
ConvertRoutesToTools converts Gin routes into a list of MCP Tools and an operation map.
Types ¶
Click to show internal directories.
Click to hide internal directories.