MCPcopy Index your code
hub / github.com/apache/answer / NewMCPSearchTagCond

Function NewMCPSearchTagCond

internal/schema/mcp_schema.go:189–195  ·  view source on GitHub ↗
(request mcp.CallToolRequest)

Source from the content-addressed store, hash-verified

187}
188
189func NewMCPSearchTagCond(request mcp.CallToolRequest) *MCPSearchTagCond {
190 cond := &MCPSearchTagCond{}
191 if tagName, ok := getRequestValue(request, MCPSearchCondTagName); ok {
192 cond.TagName = tagName
193 }
194 return cond
195}
196
197func NewMCPSearchUserCond(request mcp.CallToolRequest) *MCPSearchUserCond {
198 cond := &MCPSearchUserCond{}

Callers 2

MCPTagsHandlerMethod · 0.92
MCPTagDetailsHandlerMethod · 0.92

Calls 1

getRequestValueFunction · 0.85

Tested by

no test coverage detected