(request mcp.CallToolRequest)
| 163 | } |
| 164 | |
| 165 | func NewMCPSearchAnswerCond(request mcp.CallToolRequest) *MCPSearchCond { |
| 166 | cond := &MCPSearchCond{} |
| 167 | if questionID, ok := getRequestValue(request, MCPSearchCondQuestionID); ok { |
| 168 | cond.QuestionID = questionID |
| 169 | } |
| 170 | return cond |
| 171 | } |
| 172 | |
| 173 | func NewMCPSearchQuestionDetail(request mcp.CallToolRequest) *MCPSearchQuestionDetail { |
| 174 | cond := &MCPSearchQuestionDetail{} |
no test coverage detected