refactor: remove unnecessary register=false from @GrowToolHint
All checks were successful
Deploy to OCIWP / deploy (push) Successful in 4m33s
All checks were successful
Deploy to OCIWP / deploy (push) Successful in 4m33s
This commit is contained in:
@@ -49,7 +49,7 @@ class ToolRegistryHeartbeatSenderTest {
|
||||
static class DisabledTool {
|
||||
|
||||
@McpTool(name = "test_disabled_tool")
|
||||
@GrowToolHint(register = false)
|
||||
@GrowToolHint
|
||||
void execute() {
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,7 +22,7 @@ class ToolSourceUpdaterTest {
|
||||
import io.shinhanlife.dap.lib.annotation.GrowToolHint;
|
||||
interface SampleUseCase {
|
||||
@McpTool(name = "cmm_sample_search", description = "old")
|
||||
@GrowToolHint(register = false, requiresApproval = false)
|
||||
@GrowToolHint(requiresApproval = false)
|
||||
void search();
|
||||
}
|
||||
""");
|
||||
|
||||
@@ -25,6 +25,6 @@ import org.springframework.web.bind.annotation.RequestBody;
|
||||
public interface CustomerGuidanceToolUseCase {
|
||||
|
||||
@McpTool(name = "cmm_customer_tool", title = "고객 통합 안내이력 조회", description = "고객의 통합 안내 이력을 조회하는 도구입니다. 고객 ID와 조회 기간을 입력하면 해당 기간 동안의 안내 이력을 반환합니다.")
|
||||
@GrowToolHint(register = false, categoryKey = "cmm", mappingId = "ONILD0320")
|
||||
@GrowToolHint(categoryKey = "cmm", mappingId = "ONILD0320")
|
||||
CustomerGuidanceToolResponse searchCustomerGuidance(CustomerGuidanceToolRequest req) throws Exception;
|
||||
}
|
||||
|
||||
@@ -21,6 +21,6 @@ import io.shinhanlife.dap.mcc.biz.cmm.dto.MetaCommonCodeRequest;
|
||||
*/
|
||||
public interface MetaCommonCodeUseCase {
|
||||
@McpTool(name = "cmm_comcode_lookup", title = "메타 공통코드 조회 툴", description = "메타 통합코드 목록을 조회해줘", annotations = @McpTool.McpAnnotations(openWorldHint = true))
|
||||
@GrowToolHint(register = false, requiresApproval = false, categoryKey = "cmm", mappingId = "CLCNNB00001")
|
||||
@GrowToolHint(requiresApproval = false, categoryKey = "cmm", mappingId = "CLCNNB00001")
|
||||
Object searchCommonCode(MetaCommonCodeRequest req);
|
||||
}
|
||||
|
||||
@@ -21,6 +21,6 @@ import io.shinhanlife.dap.mcc.biz.cmm.dto.MetaTableRequest;
|
||||
*/
|
||||
public interface MetaTableUseCase {
|
||||
@McpTool(name = "cmm_meta_table", title = "메타 테이블 조회 툴", description = "메타 테이블 정보 목록을 조회해줘", annotations = @McpTool.McpAnnotations(openWorldHint = true))
|
||||
@GrowToolHint(register = false, requiresApproval = false, categoryKey = "cmm", mappingId = "CLCNNB00001")
|
||||
@GrowToolHint(requiresApproval = false, categoryKey = "cmm", mappingId = "CLCNNB00001")
|
||||
Object searchMetaTable(MetaTableRequest req);
|
||||
}
|
||||
|
||||
@@ -22,6 +22,6 @@ import io.shinhanlife.dap.mcc.biz.ins.dto.InsuranceClaimProcessorResponse;
|
||||
public interface InsuranceClaimProcessorUseCase {
|
||||
|
||||
@McpTool(name = "ins_insurance_processor", title = "보험금 청구", description = "보험금 청구 요청을 처리하고 결과를 반환하는 LLM 도구 가이드")
|
||||
@GrowToolHint(register = false, categoryKey = "ins", mappingId = "CLAIM0000001")
|
||||
@GrowToolHint(categoryKey = "ins", mappingId = "CLAIM0000001")
|
||||
InsuranceClaimProcessorResponse processInsuranceClaim(InsuranceClaimProcessorRequest req);
|
||||
}
|
||||
|
||||
@@ -6,6 +6,6 @@ import io.shinhanlife.dap.mcc.biz.oth.dto.*;
|
||||
|
||||
public interface Onnba3011UseCase {
|
||||
@McpTool(name = "oth_onnba3011_call", description = "Onnba3011 호출 툴")
|
||||
@GrowToolHint(categoryKey = "oth", register = false)
|
||||
@GrowToolHint(categoryKey = "oth")
|
||||
Object callOnnba3011(Onnba3011Request req);
|
||||
}
|
||||
|
||||
@@ -8,6 +8,6 @@ import io.shinhanlife.dap.mcc.biz.smp.dto.DailyQuoteResponse;
|
||||
|
||||
public interface DailyQuoteToolUseCase {
|
||||
@McpTool(name = "smp_quote_daily", title = "오늘의 명언 툴", description = "무작위로 영감을 주는 명언을 하나 가져옵니다.")
|
||||
@GrowToolHint(register = false, categoryKey = "smp", mappingId = "QUOTE_001")
|
||||
@GrowToolHint(categoryKey = "smp", mappingId = "QUOTE_001")
|
||||
DailyQuoteResponse getDailyQuote(DailyQuoteRequest req);
|
||||
}
|
||||
|
||||
@@ -10,6 +10,6 @@ import io.shinhanlife.dap.mcc.biz.smp.dto.ExchangeRateResponse;
|
||||
|
||||
public interface ExchangeRateToolUseCase {
|
||||
@McpTool(name = "smp_exchange_inquiry", title = "실시간 환율 조회 툴", description = "원하는 통화의 실시간 환율을 조회합니다. (예: USD, EUR, JPY)")
|
||||
@GrowToolHint(register = false, categoryKey = "smp", mappingId = "EXCHANGE_001")
|
||||
@GrowToolHint(categoryKey = "smp", mappingId = "EXCHANGE_001")
|
||||
ExchangeRateResponse getExchangeRate(ExchangeRateRequest req);
|
||||
}
|
||||
|
||||
@@ -7,6 +7,6 @@ import io.shinhanlife.dap.mcc.biz.smp.dto.TeamMemberRequest;
|
||||
|
||||
public interface TeamMemberUseCase {
|
||||
@McpTool(name = "smp_team_list", title = "신한라이프 MCP, TOOL 파트 구성원 조회", description = "신한라이프 MCP, TOOL 파트 구성원을 조회합니다.", annotations = @McpTool.McpAnnotations(openWorldHint = true))
|
||||
@GrowToolHint(register = false, requiresApproval = false, categoryKey = "smp", mappingId = "DIRECT0001")
|
||||
@GrowToolHint(requiresApproval = false, categoryKey = "smp", mappingId = "DIRECT0001")
|
||||
Object getTeamMember(TeamMemberRequest req);
|
||||
}
|
||||
|
||||
@@ -7,6 +7,6 @@ import io.shinhanlife.dap.mcc.biz.smp.dto.*;
|
||||
|
||||
public interface WeatherToolUseCase {
|
||||
@McpTool(name = "smp_weather_inquiry", title = "날씨 조회 툴", description = "특정 도시의 현재 날씨, 온도, 풍속 정보를 조회합니다.")
|
||||
@GrowToolHint(register = false, categoryKey = "smp", mappingId = "WEATHER_001")
|
||||
@GrowToolHint(categoryKey = "smp", mappingId = "WEATHER_001")
|
||||
WeatherResponse getWeather(WeatherRequest req);
|
||||
}
|
||||
|
||||
@@ -22,6 +22,6 @@ import io.shinhanlife.dap.mcc.biz.sol.dto.SolReqDetailRequest;
|
||||
public interface SolReqDetailUseCase {
|
||||
|
||||
@McpTool(name = "sol_request_detail", title = "SolReqDetail 툴", description = "SOL 의뢰서 상세 조회", annotations = @McpTool.McpAnnotations(openWorldHint = true, readOnlyHint = true))
|
||||
@GrowToolHint(register = false, requiresApproval = false, categoryKey = "sol", mappingId = "SOLG00000002")
|
||||
@GrowToolHint(requiresApproval = false, categoryKey = "sol", mappingId = "SOLG00000002")
|
||||
Object getSolRequestDetail(SolReqDetailRequest req);
|
||||
}
|
||||
|
||||
@@ -7,6 +7,6 @@ import io.shinhanlife.dap.mcc.biz.sol.dto.SolReqListRequest;
|
||||
|
||||
public interface SolReqListUseCase {
|
||||
@McpTool(name = "sol_request_list", title = "SolReqList 툴", description = "SOL 의뢰서 목록 조회해줘", annotations = @McpTool.McpAnnotations(openWorldHint = true))
|
||||
@GrowToolHint(register = false, requiresApproval = false, categoryKey = "sol", mappingId = "SOLG00000001")
|
||||
@GrowToolHint(requiresApproval = false, categoryKey = "sol", mappingId = "SOLG00000001")
|
||||
Object searchSolRequests(SolReqListRequest req);
|
||||
}
|
||||
|
||||
@@ -22,7 +22,7 @@ import io.shinhanlife.dap.mcc.biz.cmm.dto.ClaimSearchResponse;
|
||||
public interface ClaimSearchUseCase {
|
||||
|
||||
@McpTool(name = "cmm_claim_search", title = "청구번호 또는 계약번호로 보험금 청구 상태를 조회한다.", description = "청구번호 또는 계약번호로 보험금 청구 상태를 조회한다.")
|
||||
@GrowToolHint(register = false, categoryKey = "cmm", mappingId = "CLCNNB00001",
|
||||
@GrowToolHint(categoryKey = "cmm", mappingId = "CLCNNB00001",
|
||||
inputSchemaResource = "classpath:tool-schemas/cmm/claim-search-resource-input-schema.json",
|
||||
outputSchemaResource = "classpath:tool-schemas/cmm/claim-search-resource-output-schema.json")
|
||||
ClaimSearchResponse searchClaim(ClaimSearchRequest req);
|
||||
|
||||
@@ -22,6 +22,6 @@ import io.shinhanlife.dap.mcc.biz.cmm.dto.MemoListRetrieverResponse;
|
||||
public interface MemoListRetrieverUseCase {
|
||||
|
||||
@McpTool(name = "cmm_memo_retriever", title = "의뢰서 목록 조회", description = "의뢰서 목록을 조회하여 의뢰 정보를 반환합니다.")
|
||||
@GrowToolHint(register = false, categoryKey = "cmm", mappingId = "MEMO0000001")
|
||||
@GrowToolHint(categoryKey = "cmm", mappingId = "MEMO0000001")
|
||||
MemoListRetrieverResponse retrieveMemoList(MemoListRetrieverRequest req);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user