(request mcp.CallToolRequest)
| 171 | } |
| 172 | |
| 173 | func NewMCPSearchQuestionDetail(request mcp.CallToolRequest) *MCPSearchQuestionDetail { |
| 174 | cond := &MCPSearchQuestionDetail{} |
| 175 | if questionID, ok := getRequestValue(request, MCPSearchCondQuestionID); ok { |
| 176 | cond.QuestionID = questionID |
| 177 | } |
| 178 | return cond |
| 179 | } |
| 180 | |
| 181 | func NewMCPSearchCommentCond(request mcp.CallToolRequest) *MCPSearchCommentCond { |
| 182 | cond := &MCPSearchCommentCond{} |
no test coverage detected