{ [Function(nameof(GetKashu))] public string GetKashu( // ツール名「GetKashu 」を公開 [McpToolTrigger("GetKashu", "Web 図書館(webtosho) の歌集一覧から歌集を検索します")] ToolInvocationContext context, // ツール引数を定義(必要な数だけ追加可能) [McpToolProperty("filter", "string", " 検索したい歌集名", Required = true)] string text ) { return text; } } デプロイするとエンドポイントが生成される xxxxxx.azurewebsites.net/runtime/webhooks/mcp