fix: set register=true for sample tools to enable auto-registration on Render
This commit is contained in:
@@ -39,7 +39,7 @@ public class DailyQuoteToolService extends AbstractMcpToolService {
|
|||||||
new DailyQuoteRes("가장 큰 위험은 위험 없는 삶이다.", "스티븐 코비")
|
new DailyQuoteRes("가장 큰 위험은 위험 없는 삶이다.", "스티븐 코비")
|
||||||
);
|
);
|
||||||
|
|
||||||
@McpFunction(register = false, displayName = "랜덤 명언 툴", name = "daily_quote",
|
@McpFunction(register = true, displayName = "랜덤 명언 툴", name = "daily_quote",
|
||||||
description = "무작위로 영감을 주는 명언을 하나 가져옵니다.",
|
description = "무작위로 영감을 주는 명언을 하나 가져옵니다.",
|
||||||
prompt = "오늘의 명언 하나 알려줘, 동기부여 명언 등",
|
prompt = "오늘의 명언 하나 알려줘, 동기부여 명언 등",
|
||||||
mappingId = "QUOTE_001"
|
mappingId = "QUOTE_001"
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ public class ExchangeRateToolService extends AbstractMcpToolService {
|
|||||||
this.restClient = RestClient.create();
|
this.restClient = RestClient.create();
|
||||||
}
|
}
|
||||||
|
|
||||||
@McpFunction(register = false, displayName = "실시간 환율 조회 툴", name = "exchange_rate",
|
@McpFunction(register = true, displayName = "실시간 환율 조회 툴", name = "exchange_rate",
|
||||||
description = "원하는 통화의 실시간 환율을 조회합니다. (예: USD, EUR, JPY)",
|
description = "원하는 통화의 실시간 환율을 조회합니다. (예: USD, EUR, JPY)",
|
||||||
prompt = "현재 달러 환율 알려줘, 엔화 환율은?",
|
prompt = "현재 달러 환율 알려줘, 엔화 환율은?",
|
||||||
mappingId = "EXCHANGE_001"
|
mappingId = "EXCHANGE_001"
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ public class WeatherToolService extends AbstractMcpToolService {
|
|||||||
this.restClient = RestClient.create();
|
this.restClient = RestClient.create();
|
||||||
}
|
}
|
||||||
|
|
||||||
@McpFunction(register = false, displayName = "날씨 조회 툴", name = "weather",
|
@McpFunction(register = true, displayName = "날씨 조회 툴", name = "weather",
|
||||||
description = "특정 도시의 현재 날씨, 온도, 풍속 정보를 조회합니다.",
|
description = "특정 도시의 현재 날씨, 온도, 풍속 정보를 조회합니다.",
|
||||||
prompt = "서울 날씨 알려줘, 부산 기온 알려줘 등 실시간 기상 조회",
|
prompt = "서울 날씨 알려줘, 부산 기온 알려줘 등 실시간 기상 조회",
|
||||||
mappingId = "WEATHER_001"
|
mappingId = "WEATHER_001"
|
||||||
|
|||||||
Reference in New Issue
Block a user