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

Function NewMCPSearchCommentCond

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

Source from the content-addressed store, hash-verified

179}
180
181func NewMCPSearchCommentCond(request mcp.CallToolRequest) *MCPSearchCommentCond {
182 cond := &MCPSearchCommentCond{}
183 if keyword, ok := getRequestValue(request, MCPSearchCondObjectID); ok {
184 cond.ObjectID = keyword
185 }
186 return cond
187}
188
189func NewMCPSearchTagCond(request mcp.CallToolRequest) *MCPSearchTagCond {
190 cond := &MCPSearchTagCond{}

Callers 1

MCPCommentsHandlerMethod · 0.92

Calls 1

getRequestValueFunction · 0.85

Tested by

no test coverage detected