(request mcp.CallToolRequest)
| 179 | } |
| 180 | |
| 181 | func 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 | |
| 189 | func NewMCPSearchTagCond(request mcp.CallToolRequest) *MCPSearchTagCond { |
| 190 | cond := &MCPSearchTagCond{} |
no test coverage detected