File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -588,6 +588,7 @@ export function registerGatewayTools(server: ExtendedMcpServer) {
588588 title : "管理网关域资源" ,
589589 description :
590590 "网关域统一写入口。通过 action 创建目标访问入口,后续承接更通用的网关配置能力。" +
591+ "常用于为 HTTP 云函数补默认域名访问入口。" +
591592 "\n\n各 action 所需参数:\n" +
592593 "- createAccess: targetType + targetName + type(均必填)。path, auth 可选\n" +
593594 "- createRoute: route(必填,含 path, serviceType, serviceName)\n" +
@@ -602,7 +603,7 @@ export function registerGatewayTools(server: ExtendedMcpServer) {
602603 inputSchema : {
603604 action : z
604605 . enum ( MANAGE_GATEWAY_ACTIONS )
605- . describe ( '写操作类型。各 action 所需参数详见工具描述。createAccess 时必须显式提供 type(HTTP 函数传 HTTP,Event 函数传 Event 或省略)。' ) ,
606+ . describe ( '写操作类型。各 action 所需参数详见工具描述。createAccess 用于创建默认域名访问入口,必须显式提供 type(HTTP 函数传 HTTP,Event 函数传 Event 或省略)。' ) ,
606607 targetType : z
607608 . enum ( [ "function" ] )
608609 . optional ( )
You can’t perform that action at this time.
0 commit comments