{"id":6866,"date":"2026-03-06T09:32:00","date_gmt":"2026-03-06T00:32:00","guid":{"rendered":"https:\/\/techfun.cc\/?p=6866"},"modified":"2026-03-06T09:33:41","modified_gmt":"2026-03-06T00:33:41","slug":"chatgpt-gpts-actions-gas-guide","status":"publish","type":"post","link":"https:\/\/techfun.cc\/generative-ai\/chatgpt-gpts-actions-gas-guide.html","title":{"rendered":"ChatGPT GPTs \u00d7 GAS \u3067\u696d\u52d9\u3092\u81ea\u52d5\u5316\u3059\u308b \u2500\u2500 Actions \u3068 MCP \u306e\u4f7f\u3044\u5206\u3051"},"content":{"rendered":"<h3 id=\"section-1\" class=\"Heading Title Title--m\">\u306f\u3058\u3081\u306b<\/h3>\n<p>\u300c\u30c1\u30e3\u30c3\u30c8\u3067\u8cea\u554f\u306b\u7b54\u3048\u3066\u3082\u3089\u3046\u3060\u3051\u3067\u306a\u304f\u3001AI\u306b\u5916\u90e8\u306e\u30c7\u30fc\u30bf\u3092\u64cd\u4f5c\u3055\u305b\u305f\u3044\u300d\u2500\u2500\u751f\u6210AI\u306e\u6d3b\u7528\u304c\u9032\u3080\u306b\u3064\u308c\u3001\u3053\u3046\u3057\u305f\u30cb\u30fc\u30ba\u304c\u5897\u3048\u3066\u3044\u307e\u3059\u3002<br \/>\n\u4f8b\u3048\u3070\u3001\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u3078\u306e\u30c7\u30fc\u30bf\u8ffd\u52a0\u3084\u4e00\u89a7\u53d6\u5f97\u3068\u3044\u3063\u305f\u64cd\u4f5c\u3092\u3001\u81ea\u7136\u8a00\u8a9e\u3067\u6307\u793a\u3059\u308b\u3060\u3051\u3067\u5b8c\u4e86\u3055\u305b\u305f\u3044\u3068\u3044\u3046\u5834\u9762\u3067\u3059\u3002<br \/>\n\u4ee5\u524d\u306e\u8a18\u4e8b\u3067\u306f\u3001AI\u3068\u5916\u90e8\u30b7\u30b9\u30c6\u30e0\u3092\u9023\u643a\u3055\u305b\u308b\u624b\u6bb5\u3068\u3057\u3066<strong>MCP\uff08Model Context Protocol\uff09<\/strong>\u3092\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002<\/p>\n<a class=\"Internal-post\" href=\"https:\/\/techfun.cc\/generative-ai\/mcp-server-python-basic.html\"><div class=\"Internal-post__thumb\" style=\"background: url(\/wp-content\/uploads\/2025\/12\/mcp-server-python-basic-scaled.png) no-repeat; background-size: cover; background-position: 50% 50%;\"><\/div><div class=\"Internal-post-content\"><div class=\"Category Category--generative-ai\"> \u751f\u6210AI\u95a2\u9023<\/div><div class=\"Internal-post__title\">MCP\u30b5\u30fc\u30d0\u30fc\u3092\u6d3b\u7528\u3059\u308b\u3010\u524d\u7de8\uff1a\u81ea\u4f5c\u7de8\u3011<\/div><\/div><\/a>\n<p>\u4eca\u56de\u306f\u3001ChatGPT \u3092\u6d3b\u7528\u3057\u305f<strong>GPTs Actions<\/strong>\u3092\u53d6\u308a\u4e0a\u3052\u307e\u3059\u3002<br \/>\n\u300c\u3044\u3064\u30fb\u306a\u305c GPTs Actions \u3092\u9078\u3076\u306e\u304b\u300d\u3092\u8ef8\u306b\u3001MCP \u3068\u306e\u4f7f\u3044\u5206\u3051\u3092\u6574\u7406\u3057\u305f\u3046\u3048\u3067\u3001<strong>GAS\uff08Google Apps Script\uff09<\/strong>\u3092\u4f7f\u3063\u305f\u5b9f\u88c5\u4f8b\u3092\u4ea4\u3048\u3066\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n<h3 id=\"section-2\" class=\"Heading Title Title--m\">GPTs Actions \u3068\u306f\u4f55\u304b<\/h3>\n<h4 id=\"section-2-1\" class=\"Heading Title Title--s\">GPTs \u306e\u6982\u8981<\/h4>\n<p><a href=\"https:\/\/help.openai.com\/en\/articles\/8554397-creating-a-gpt\" class=\"Ext\">GPTs\uff08\u30ab\u30b9\u30bf\u30e0 GPT\uff09<\/a>\u306f\u3001ChatGPT \u3092\u7279\u5b9a\u306e\u7528\u9014\u5411\u3051\u306b\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3067\u304d\u308b\u6a5f\u80fd\u3067\u3059\u3002<br \/>\nGPT \u3067\u306f\u3001<strong>Instructions<\/strong>\uff08\u6307\u793a\uff09\u3001<strong>Knowledge<\/strong>\uff08\u53c2\u7167\u30d5\u30a1\u30a4\u30eb\uff09\u3001<strong>Capabilities<\/strong>\uff08\u6a5f\u80fd\u62e1\u5f35\u3002Custom Actions \u3082\u3053\u3053\u306b\u542b\u307e\u308c\u307e\u3059\uff09\u3092\u8a2d\u5b9a\u3067\u304d\u307e\u3059\u3002<br \/>\n\u4f5c\u6210\u3057\u305f GPT \u306f\u3001\u30ea\u30f3\u30af\u5171\u6709\u3084\u30ef\u30fc\u30af\u30b9\u30da\u30fc\u30b9\u5185\u3078\u306e\u5171\u6709\u304c\u53ef\u80fd\u3067\u3059\u3002<br \/>\n\u5171\u540c\u7de8\u96c6\uff08Can edit\uff09\u306a\u3069\u306e\u6a29\u9650\u7ba1\u7406\u306f\u30ef\u30fc\u30af\u30b9\u30da\u30fc\u30b9\u6a5f\u80fd\u306b\u4f9d\u5b58\u3059\u308b\u305f\u3081\u3001\u30ef\u30fc\u30af\u30b9\u30da\u30fc\u30b9\u5916\u306e\u30e6\u30fc\u30b6\u30fc\u306b\u306f\u5171\u540c\u7de8\u96c6\u6a29\u9650\u3092\u4ed8\u4e0e\u3067\u304d\u306a\u3044\u70b9\u306b\u6ce8\u610f\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<blockquote class=\"Post-blockquote\"><p>\n\u53c2\u8003\uff1a<a href=\"https:\/\/help.openai.com\/en\/articles\/9083988-how-to-share-gpts-within-workspaces\" class=\"Ext\">GPTs \u306e\u5171\u6709\u306b\u95a2\u3059\u308b\u516c\u5f0f\u30d8\u30eb\u30d7<\/a>\n<\/p><\/blockquote>\n<h4 id=\"section-2-2\" class=\"Heading Title Title--s\">Actions \u306e\u4ed5\u7d44\u307f<\/h4>\n<p><a href=\"https:\/\/developers.openai.com\/api\/docs\/actions\/getting-started\" class=\"Ext\">Actions<\/a> \u306f\u3001GPTs \u306b\u5916\u90e8 API \u306e\u547c\u3073\u51fa\u3057\u80fd\u529b\u3092\u6301\u305f\u305b\u308b\u6a5f\u80fd\u3067\u3059\u3002<br \/>\nOpenAPI \u30b9\u30ad\u30fc\u30de\u3067 API \u4ed5\u69d8\u3092\u5b9a\u7fa9\u3057\u3066 GPT \u306b\u767b\u9332\u3059\u308b\u3068\u3001\u30e6\u30fc\u30b6\u30fc\u306e\u5165\u529b\u306b\u5fdc\u3058\u3066 GPT \u304c\u30a2\u30af\u30b7\u30e7\u30f3\u3092\u547c\u3073\u51fa\u3057\u3066\u304f\u308c\u307e\u3059\u3002<br \/>\n\u3064\u307e\u308a\u3001<strong>\u300c\u81ea\u7136\u8a00\u8a9e\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u300d+\u300c\u78ba\u5b9a\u7684\u306a API \u51e6\u7406\u300d<\/strong>\u3068\u3044\u3046\u7d44\u307f\u5408\u308f\u305b\u3092\u5b9f\u73fe\u3067\u304d\u308b\u308f\u3051\u3067\u3059\u3002<br \/>\n\u305f\u3068\u3048\u3070\u3001\u30e6\u30fc\u30b6\u30fc\u304c\u300c\u73fe\u5728\u306e\u30bf\u30b9\u30af\u72b6\u6cc1\u3092\u4e00\u89a7\u8868\u793a\u3057\u3066\u300d\u3068\u5165\u529b\u3059\u308b\u3068\u3001GPT \u304c OpenAPI \u5b9a\u7fa9\u306b\u6cbf\u3063\u3066 API \u3092\u547c\u3073\u51fa\u3057\u3001\u7d50\u679c\u3092\u6574\u5f62\u3057\u3066\u8fd4\u3057\u3066\u304f\u308c\u307e\u3059\u3002<\/p>\n<h4 id=\"section-2-3\" class=\"Heading Title Title--s\">GPTs \u3092\u69cb\u6210\u3059\u308b3\u3064\u306e\u8981\u7d20<\/h4>\n<p>\u5b9f\u52d9\u3067\u306f\u3001GPTs \u306f\u4ee5\u4e0b\u306e3\u8981\u7d20\u3092\u62bc\u3055\u3048\u3066\u304a\u304f\u3068\u3088\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n<table class=\"Base-table\">\n<tr>\n<th>\u8981\u7d20<\/th>\n<th>\u5f79\u5272<\/th>\n<\/tr>\n<tr>\n<td>Instructions<\/td>\n<td>GPT \u306e\u632f\u308b\u821e\u3044\u3084\u5fdc\u7b54\u30b9\u30bf\u30a4\u30eb\u3092\u5b9a\u7fa9\u3059\u308b\u6307\u793a<\/td>\n<\/tr>\n<tr>\n<td>Knowledge<\/td>\n<td>GPT \u304c\u53c2\u7167\u3059\u308b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u30d5\u30a1\u30a4\u30eb<\/td>\n<\/tr>\n<tr>\n<td>Capabilities<\/td>\n<td>\u6a5f\u80fd\u62e1\u5f35\uff08Web browsing\u3001Code Interpreter\u3001Custom Actions \u306a\u3069\uff09<\/td>\n<\/tr>\n<\/table>\n<p>\u3053\u306e\u4e2d\u3067 Custom Actions \u304c\u3001GPT \u3092\u300c\u60c5\u5831\u3092\u8fd4\u3059\u3060\u3051\u306e\u30c1\u30e3\u30c3\u30c8\u30dc\u30c3\u30c8\u300d\u304b\u3089\u300c\u5916\u90e8\u30b7\u30b9\u30c6\u30e0\u3092\u64cd\u4f5c\u3067\u304d\u308b\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u300d\u3078\u3068\u9032\u5316\u3055\u305b\u308b\u8981\u7d20\u3067\u3059\u3002<\/p>\n<blockquote class=\"Post-blockquote\"><p>\n\u53c2\u8003\uff1a<a href=\"https:\/\/help.openai.com\/en\/articles\/8554397-creating-a-gpt\" class=\"Ext\">OpenAI Help: Creating a GPT<\/a>\n<\/p><\/blockquote>\n<h3 id=\"section-3\" class=\"Heading Title Title--m\">GPTs Actions vs MCP \u2500\u2500 \u4f7f\u3044\u5206\u3051\u306e\u5224\u65ad\u57fa\u6e96<\/h3>\n<p>GPTs Actions \u306f\u3001ChatGPT \u4e0a\u306e\u30ab\u30b9\u30bf\u30e0 GPT \u304b\u3089\u5916\u90e8 API \u3092\u547c\u3073\u51fa\u3059\u305f\u3081\u306e\u4ed5\u7d44\u307f\u3067\u3059\u3002<br \/>\n\u4e00\u65b9\u306e <a href=\"https:\/\/modelcontextprotocol.io\/docs\/getting-started\/intro\" class=\"Ext\">MCP<\/a> \u306f\u3001AI \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304c\u30ed\u30fc\u30ab\u30eb\u30fb\u30ea\u30e2\u30fc\u30c8\u554f\u308f\u305a\u30c7\u30fc\u30bf\u30bd\u30fc\u30b9\u3084\u30c4\u30fc\u30eb\u306b\u63a5\u7d9a\u3059\u308b\u305f\u3081\u306e\u30aa\u30fc\u30d7\u30f3\u6a19\u6e96\u3067\u3059\u3002<br \/>\n\u3069\u3061\u3089\u304c\u512a\u308c\u3066\u3044\u308b\u304b\u3067\u306f\u306a\u304f\u3001<strong>\u76f8\u88dc\u7684\u306a\u95a2\u4fc2<\/strong>\u3068\u3057\u3066\u6349\u3048\u308b\u306e\u304c\u3088\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n<h4 id=\"section-3-1\" class=\"Heading Title Title--s\">\u6bd4\u8f03\u30c6\u30fc\u30d6\u30eb<\/h4>\n<table class=\"Base-table\">\n<tr>\n<th>\u89b3\u70b9<\/th>\n<th>GPTs Actions<\/th>\n<th>MCP<\/th>\n<\/tr>\n<tr>\n<td>\u5229\u7528\u8d77\u70b9<\/td>\n<td>ChatGPT \u306e GPT \u8a2d\u5b9a\u753b\u9762\u304b\u3089\u69cb\u6210<\/td>\n<td>MCP \u30db\u30b9\u30c8\uff08\u5bfe\u5fdc\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\uff09\u304b\u3089\u63a5\u7d9a<\/td>\n<\/tr>\n<tr>\n<td>\u4ed5\u69d8<\/td>\n<td>OpenAPI \u30d9\u30fc\u30b9\u3067\u30a2\u30af\u30b7\u30e7\u30f3\u3092\u5b9a\u7fa9<\/td>\n<td>MCP \u30d7\u30ed\u30c8\u30b3\u30eb\u3067\u30c4\u30fc\u30eb\/\u30ea\u30bd\u30fc\u30b9\u3092\u63a5\u7d9a<\/td>\n<\/tr>\n<tr>\n<td>\u63a5\u7d9a\u5148<\/td>\n<td>\u4e3b\u306b Web API\uff08HTTP\uff09<\/td>\n<td>\u30ed\u30fc\u30ab\u30eb\/\u30ea\u30e2\u30fc\u30c8\u53cc\u65b9\uff08\u4f8b: \u30d5\u30a1\u30a4\u30eb\u3001DB\u3001API\uff09<\/td>\n<\/tr>\n<tr>\n<td>\u5171\u6709\u30fb\u914d\u5e03<\/td>\n<td>GPT \u306e\u5171\u6709\u8a2d\u5b9a\uff08\u30ea\u30f3\u30af\/\u30ef\u30fc\u30af\u30b9\u30da\u30fc\u30b9\uff09<\/td>\n<td>\u30b5\u30fc\u30d0\u30fc\u8a2d\u5b9a\u3084\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u8a2d\u5b9a\u3067\u63a5\u7d9a<\/td>\n<\/tr>\n<tr>\n<td>\u9069\u3057\u305f\u5834\u9762<\/td>\n<td>\u5b9a\u578b\u696d\u52d9\u306e\u30c1\u30e3\u30c3\u30c8\u64cd\u4f5c\u3092\u5c55\u958b\u3057\u305f\u3044\u3068\u304d<\/td>\n<td>\u958b\u767a\u30fb\u904b\u7528\u3067\u8907\u6570\u30c7\u30fc\u30bf\u30bd\u30fc\u30b9\u3092\u7d71\u5408\u3057\u305f\u3044\u3068\u304d<\/td>\n<\/tr>\n<\/table>\n<blockquote class=\"Post-blockquote\"><p>\n\u53c2\u8003\uff1a<a href=\"https:\/\/developers.openai.com\/api\/docs\/actions\/getting-started\" class=\"Ext\">GPT Actions \u516c\u5f0f\u30ac\u30a4\u30c9<\/a> \/ <a href=\"https:\/\/modelcontextprotocol.io\/docs\/getting-started\/intro\" class=\"Ext\">MCP Introduction<\/a> \/ <a href=\"https:\/\/modelcontextprotocol.io\/docs\/learn\/architecture\" class=\"Ext\">MCP Architecture<\/a>\n<\/p><\/blockquote>\n<h4 id=\"section-3-2\" class=\"Heading Title Title--s\">GPTs Actions \u306e\u300c\u76f4\u63a5\u7684\u300d\u306a\u826f\u3055<\/h4>\n<p>\u4e21\u8005\u306e\u5927\u304d\u306a\u9055\u3044\u306e\u3072\u3068\u3064\u306f\u3001<strong>\u64cd\u4f5c\u5bfe\u8c61\u306e\u6307\u5b9a\u65b9\u6cd5<\/strong>\u3067\u3059\u3002<br \/>\nGPTs Actions \u3067\u306f\u3001\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u5074\u306b\u64cd\u4f5c\u5bfe\u8c61\u3092\u3042\u3089\u304b\u3058\u3081\u57cb\u3081\u8fbc\u3093\u3067\u304a\u3051\u307e\u3059\u3002<br \/>\n\u305f\u3068\u3048\u3070\u3001GAS \u306e\u30b3\u30fc\u30c9\u5185\u306b\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8 ID \u3092\u76f4\u63a5\u8a18\u8ff0\u3057\u3066\u304a\u3051\u3070\u3001\u30e6\u30fc\u30b6\u30fc\u306f\u300c\u30c7\u30fc\u30bf\u3092\u8ffd\u52a0\u3057\u3066\u300d\u3068\u8a00\u3046\u3060\u3051\u3067 OK \u3067\u3059\u3002<br \/>\n\u300c\u3069\u306e\u30d5\u30a1\u30a4\u30eb\u306b\uff1f\u300d\u300c\u3069\u306e\u30b7\u30fc\u30c8\u306b\uff1f\u300d\u3068\u3044\u3063\u305f\u6307\u5b9a\u3092\u6bce\u56de\u30d7\u30ed\u30f3\u30d7\u30c8\u3067\u884c\u3046\u5fc5\u8981\u304c\u306a\u3044\u305f\u3081\u3001\u5b9a\u578b\u696d\u52d9\u3067\u306f\u3068\u3066\u3082\u6271\u3044\u3084\u3059\u3044\u8a2d\u8a08\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n\u4e00\u65b9 MCP \u306f\u3001\u30c4\u30fc\u30eb\u3068\u30ea\u30bd\u30fc\u30b9\u3092\u6c4e\u7528\u7684\u306b\u516c\u958b\u3057\u3001\u5b9f\u884c\u6642\u306b\u3069\u306e\u5bfe\u8c61\u3092\u6271\u3046\u304b\u3092\u6307\u5b9a\u3067\u304d\u308b\u8a2d\u8a08\u3067\u3059\u3002<br \/>\n\u67d4\u8edf\u6027\u304c\u9ad8\u3044\u53cd\u9762\u3001\u63a5\u7d9a\u5148\u30fb\u6a29\u9650\u30fb\u516c\u958b\u7bc4\u56f2\u3092\u304d\u3061\u3093\u3068\u7ba1\u7406\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<blockquote class=\"Post-blockquote\"><p>\n\u53c2\u8003\uff1a<a href=\"https:\/\/modelcontextprotocol.io\/docs\/learn\/architecture\" class=\"Ext\">MCP Architecture<\/a>\n<\/p><\/blockquote>\n<h4 id=\"section-3-3\" class=\"Heading Title Title--s\">\u5224\u65ad\u57fa\u6e96\u306e\u5177\u4f53\u4f8b<\/h4>\n<p>\u8ff7\u3063\u305f\u3068\u304d\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8003\u3048\u308b\u3068\u6574\u7406\u3057\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n<table class=\"Base-table\">\n<tr>\n<th>\u30b1\u30fc\u30b9<\/th>\n<th>\u63a8\u5968<\/th>\n<\/tr>\n<tr>\n<td><strong>\u975e\u30a8\u30f3\u30b8\u30cb\u30a2\u304c\u30c1\u30e3\u30c3\u30c8\u3067\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u3092\u64cd\u4f5c\u3057\u305f\u3044<\/strong><\/td>\n<td>GPTs Actions<\/td>\n<\/tr>\n<tr>\n<td><strong>\u958b\u767a\u8005\u304c\u8907\u6570\u30c7\u30fc\u30bf\u30bd\u30fc\u30b9\u3092\u7d71\u5408\u3057\u3066AI\u9023\u643a\u3057\u305f\u3044<\/strong><\/td>\n<td>MCP<\/td>\n<\/tr>\n<tr>\n<td><strong>\u7279\u5b9a\u306e\u696d\u52d9\u30d5\u30ed\u30fc\u3092\u30ea\u30f3\u30af1\u3064\u3067\u30c1\u30fc\u30e0\u306b\u5c55\u958b\u3057\u305f\u3044<\/strong><\/td>\n<td>GPTs Actions<\/td>\n<\/tr>\n<tr>\n<td><strong>\u30ed\u30fc\u30ab\u30eb\/\u793e\u5185\u30c7\u30fc\u30bf\u3092\u63a5\u7d9a\u5bfe\u8c61\u3068\u3057\u3066\u67d4\u8edf\u306b\u6271\u3044\u305f\u3044<\/strong><\/td>\n<td>MCP<\/td>\n<\/tr>\n<\/table>\n<h3 id=\"section-4\" class=\"Heading Title Title--m\">\u5b9f\u8df5: GAS \u3067\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u64cd\u4f5c\u306e Actions \u3092\u69cb\u7bc9\u3059\u308b<\/h3>\n<p>\u3053\u3053\u304b\u3089\u306f\u3001GAS\uff08Google Apps Script\uff09\u3092\u4f7f\u3063\u3066\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u3092\u64cd\u4f5c\u3059\u308b Actions \u3092\u5b9f\u969b\u306b\u69cb\u7bc9\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<h4 id=\"section-4-1\" class=\"Heading Title Title--s\">\u306a\u305c GAS \u3092\u9078\u3076\u306e\u304b<\/h4>\n<p>GPTs Actions \u306e\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u306b\u306f\u4efb\u610f\u306e Web API \u3092\u4f7f\u3048\u307e\u3059\u304c\u3001GAS \u306f\u4ee5\u4e0b\u306e\u70b9\u3067\u624b\u8efd\u306b\u59cb\u3081\u3089\u308c\u308b\u9078\u629e\u80a2\u3067\u3059\u3002<\/p>\n<table class=\"Base-table\">\n<tr>\n<th>\u89b3\u70b9<\/th>\n<th>\u5185\u5bb9<\/th>\n<\/tr>\n<tr>\n<td><strong>\u30b5\u30fc\u30d0\u30fc\u30ec\u30b9\u3067\u59cb\u3081\u3084\u3059\u3044<\/strong><\/td>\n<td><a href=\"https:\/\/developers.google.com\/apps-script\/overview\" class=\"Ext\">Apps Script<\/a> \u306f Google \u306e\u30a4\u30f3\u30d5\u30e9\u4e0a\u3067\u52d5\u304f\u30b5\u30fc\u30d0\u30fc\u30ec\u30b9\u74b0\u5883\u306a\u306e\u3067\u3001\u30b5\u30fc\u30d0\u30fc\u7ba1\u7406\u304c\u4e0d\u8981\u3067\u3059<\/td>\n<\/tr>\n<tr>\n<td><strong>Google \u30b5\u30fc\u30d3\u30b9\u3068\u306e\u9023\u643a\u304c\u5bb9\u6613<\/strong><\/td>\n<td><a href=\"https:\/\/developers.google.com\/apps-script\/reference\/spreadsheet\/spreadsheet-app\" class=\"Ext\"><span class=\"Post-inline\">SpreadsheetApp<\/span><\/a> \u306a\u3069\u306e\u7d44\u307f\u8fbc\u307f\u30b5\u30fc\u30d3\u30b9\u304b\u3089\u3001\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u3092\u76f4\u63a5\u64cd\u4f5c\u3067\u304d\u307e\u3059<\/td>\n<\/tr>\n<tr>\n<td><strong>\u30af\u30a9\u30fc\u30bf\u524d\u63d0\u3067\u904b\u7528\u8a2d\u8a08\u3067\u304d\u308b<\/strong><\/td>\n<td><a href=\"https:\/\/developers.google.com\/apps-script\/guides\/services\/quotas\" class=\"Ext\">\u5b9f\u884c\u56de\u6570\u30fb\u5b9f\u884c\u6642\u9593\u306a\u3069\u306e\u30af\u30a9\u30fc\u30bf<\/a> \u304c\u3042\u308b\u305f\u3081\u3001\u898f\u6a21\u306b\u5fdc\u3058\u305f\u8a2d\u8a08\u304c\u3057\u3084\u3059\u304f\u306a\u3063\u3066\u3044\u307e\u3059<\/td>\n<\/tr>\n<\/table>\n<h4 id=\"section-4-2\" class=\"Heading Title Title--s\">GAS \u5074\u306e\u5b9f\u88c5<\/h4>\n<p>GAS \u3092 <a href=\"https:\/\/developers.google.com\/apps-script\/guides\/web\" class=\"Ext\">Web \u30a2\u30d7\u30ea\u3068\u3057\u3066\u516c\u958b<\/a>\u3059\u308b\u5834\u5408\u3001<span class=\"Post-inline\">doGet(e)<\/span> \/ <span class=\"Post-inline\">doPost(e)<\/span> \u304c\u30a8\u30f3\u30c8\u30ea\u30fc\u30dd\u30a4\u30f3\u30c8\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306b\u7d10\u3065\u304f GAS \u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u8a18\u8ff0\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<div class=\"Pre-title\">Code.gs<\/div>\n<pre class=\"Copy\"><code>\r\nfunction getConfig() {\r\n  const props = PropertiesService.getScriptProperties();\r\n  const spreadsheetId = props.getProperty(&#x27;SPREADSHEET_ID&#x27;);\r\n  const sheetName = props.getProperty(&#x27;SHEET_NAME&#x27;);\r\n  const apiKey = props.getProperty(&#x27;X_API_KEY&#x27;);\r\n\r\n  if (!spreadsheetId || !sheetName || !apiKey) {\r\n    return null;\r\n  }\r\n  return { spreadsheetId, sheetName, apiKey };\r\n}\r\n\r\nfunction configError() {\r\n  return ContentService\r\n    .createTextOutput(JSON.stringify({\r\n      error: &#x27;Missing script properties: SPREADSHEET_ID, SHEET_NAME, X_API_KEY&#x27;\r\n    }))\r\n    .setMimeType(ContentService.MimeType.JSON);\r\n}\r\n\r\nfunction parseBody(e) {\r\n  if (!e.postData || !e.postData.contents) return {};\r\n  try {\r\n    return JSON.parse(e.postData.contents);\r\n  } catch (error) {\r\n    return {};\r\n  }\r\n}\r\n\r\nfunction validation(e, body, expectedApiKey) {\r\n  const apiKey = e.parameter[&#x27;x_api_key&#x27;] || (body &amp;&amp; body[&#x27;x_api_key&#x27;]);\r\n  if (apiKey !== expectedApiKey) {\r\n    return ContentService\r\n      .createTextOutput(JSON.stringify({ error: &#x27;Unauthorized&#x27; }))\r\n      .setMimeType(ContentService.MimeType.JSON);\r\n  }\r\n  return null;\r\n}\r\n\r\nfunction doGet(e) {\r\n  const config = getConfig();\r\n  if (!config) return configError();\r\n\r\n  const authError = validation(e, null, config.apiKey);\r\n  if (authError) return authError;\r\n\r\n  const sheet = SpreadsheetApp.openById(config.spreadsheetId).getSheetByName(config.sheetName);\r\n  const data = sheet.getDataRange().getValues();\r\n  const headers = data[0];\r\n  const rows = data.slice(1).map(row =&gt; {\r\n    const obj = {};\r\n    headers.forEach((h, i) =&gt; obj[h] = row[i]);\r\n    return obj;\r\n  });\r\n\r\n  return ContentService\r\n    .createTextOutput(JSON.stringify({ items: rows, total: data.length - 1 }))\r\n    .setMimeType(ContentService.MimeType.JSON);\r\n}\r\n\r\nfunction doPost(e) {\r\n  const config = getConfig();\r\n  if (!config) return configError();\r\n\r\n  const body = parseBody(e);\r\n  const authError = validation(e, body, config.apiKey);\r\n  if (authError) return authError;\r\n\r\n  const sheet = SpreadsheetApp.openById(config.spreadsheetId).getSheetByName(config.sheetName);\r\n  const headers = sheet.getRange(1, 1, 1, sheet.getLastColumn()).getValues()[0];\r\n  const newRow = headers.map(h =&gt; body[h] || &#x27;&#x27;);\r\n\r\n  sheet.appendRow(newRow);\r\n\r\n  return ContentService\r\n    .createTextOutput(JSON.stringify({ status: &#x27;ok&#x27;, added: body }))\r\n    .setMimeType(ContentService.MimeType.JSON);\r\n}\r\n<\/code><\/pre>\n<p>\u30b3\u30fc\u30c9\u306e\u30dd\u30a4\u30f3\u30c8\u3092\u7c21\u5358\u306b\u307e\u3068\u3081\u307e\u3059\u3002<\/p>\n<table class=\"Base-table\">\n<tr>\n<th>\u9805\u76ee<\/th>\n<th>\u5185\u5bb9<\/th>\n<\/tr>\n<tr>\n<td>\u8a2d\u5b9a\u5024\u306e\u7ba1\u7406<\/td>\n<td><span class=\"Post-inline\">SPREADSHEET_ID<\/span> \/ <span class=\"Post-inline\">SHEET_NAME<\/span> \/ <span class=\"Post-inline\">X_API_KEY<\/span> \u3092\u30b9\u30af\u30ea\u30d7\u30c8\u30d7\u30ed\u30d1\u30c6\u30a3\u304b\u3089\u53d6\u5f97\u3059\u308b\u305f\u3081\u3001\u5024\u3092\u30b3\u30fc\u30c9\u306b\u76f4\u66f8\u304d\u3057\u307e\u305b\u3093<\/td>\n<\/tr>\n<tr>\n<td>API \u30ad\u30fc\u691c\u8a3c<\/td>\n<td><span class=\"Post-inline\">validation(e, body, expectedApiKey)<\/span> \u3067 API \u30ad\u30fc\u3092\u691c\u8a3c\u3057\u3001\u4e0d\u4e00\u81f4\u306e\u5834\u5408\u306f <span class=\"Post-inline\">401 Unauthorized<\/span> \u76f8\u5f53\u306e\u30ec\u30b9\u30dd\u30f3\u30b9\u3092\u8fd4\u3057\u307e\u3059\uff08\u8a73\u7d30\u306f\u5f8c\u8ff0\uff09<\/td>\n<\/tr>\n<tr>\n<td>\u30dc\u30c7\u30a3\u306e\u5b89\u5168\u306a\u89e3\u6790<\/td>\n<td><span class=\"Post-inline\">parseBody(e)<\/span> \u3067 POST \u306e JSON \u3092\u5b89\u5168\u306b\u30d1\u30fc\u30b9\u3057\u3001\u30d1\u30fc\u30b9\u5931\u6557\u6642\u306f\u7a7a\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u6271\u3044\u307e\u3059<\/td>\n<\/tr>\n<tr>\n<td>\u4ef6\u6570\u60c5\u5831\u306e\u8fd4\u5374<\/td>\n<td>\u30ec\u30b9\u30dd\u30f3\u30b9\u306b <span class=\"Post-inline\">total<\/span>\uff08\u5168\u4ef6\u6570\uff09\u3092\u542b\u3081\u308b\u3053\u3068\u3067\u3001GPT \u304c\u30e6\u30fc\u30b6\u30fc\u306b\u6b8b\u308a\u306e\u30c7\u30fc\u30bf\u304c\u3042\u308b\u3053\u3068\u3092\u4f1d\u3048\u3089\u308c\u307e\u3059<\/td>\n<\/tr>\n<tr>\n<td>\u8ffd\u8a18\u524d\u306e\u6574\u5408\u6027\u78ba\u8a8d<\/td>\n<td><span class=\"Post-inline\">appendRow<\/span> \u306e\u524d\u306b\u300c\u30ea\u30af\u30a8\u30b9\u30c8\u30ad\u30fc\u3068\u30b7\u30fc\u30c8\u30d8\u30c3\u30c0\u30fc\u304c\u4e00\u81f4\u3057\u3066\u3044\u308b\u304b\u300d\u3092\u78ba\u8a8d\u3057\u3001\u4e0d\u4e00\u81f4\u6642\u306f\u30a8\u30e9\u30fc\u3092\u8fd4\u3057\u307e\u3059<\/td>\n<\/tr>\n<tr>\n<td>JSON \u3067\u306e\u5fdc\u7b54<\/td>\n<td><span class=\"Post-inline\">ContentService.createTextOutput(&#8230;).setMimeType(&#8230;)<\/span> \u3067 JSON \u5f62\u5f0f\u306e\u30ec\u30b9\u30dd\u30f3\u30b9\u3092\u8fd4\u3057\u307e\u3059<\/td>\n<\/tr>\n<\/table>\n<blockquote class=\"Post-blockquote\"><p>\n<strong>\u88dc\u8db3<\/strong>: GPTs Actions \u306b\u306f\u30ec\u30b9\u30dd\u30f3\u30b9\u30b5\u30a4\u30ba\u306e\u4e0a\u9650\u304c\u3042\u308a\u3001\u30c7\u30fc\u30bf\u91cf\u304c\u591a\u3044\u3068 <span class=\"Post-inline\">ResponseTooLargeError<\/span> \u304c\u767a\u751f\u3059\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\u4ef6\u6570\u5236\u5fa1\u3084\u30da\u30fc\u30b8\u30f3\u30b0\u3092\u5b9f\u88c5\u3057\u3066\u304a\u304f\u3068\u5b89\u5b9a\u3057\u307e\u3059\u3002\n<\/p><\/blockquote>\n<p><strong>\u306a\u305c\u30b9\u30af\u30ea\u30d7\u30c8\u30d7\u30ed\u30d1\u30c6\u30a3\u306b\u3059\u308b\u306e\u304b\uff1f<\/strong><\/p>\n<table class=\"Base-table\">\n<tr>\n<th>\u7406\u7531<\/th>\n<th>\u5185\u5bb9<\/th>\n<\/tr>\n<tr>\n<td>1<\/td>\n<td>API \u30ad\u30fc\u3084 ID \u3092\u30b3\u30fc\u30c9\u306b\u6b8b\u3055\u305a\u7ba1\u7406\u3067\u304d\u308b<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>\u74b0\u5883\u3054\u3068\uff08\u691c\u8a3c\/\u672c\u756a\uff09\u306b\u5024\u3092\u5207\u308a\u66ff\u3048\u3084\u3059\u3044<\/td>\n<\/tr>\n<tr>\n<td>3<\/td>\n<td>\u5024\u306e\u66f4\u65b0\u6642\u306b\u30b3\u30fc\u30c9\u5dee\u5206\u3092\u5897\u3084\u3055\u305a\u904b\u7528\u3067\u304d\u308b<\/td>\n<\/tr>\n<\/table>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/03\/script-properties.png\" alt=\"\u30b9\u30af\u30ea\u30d7\u30c8\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u8a2d\u5b9a\u7b87\u6240\" class=\"content_img\" \/><\/p>\n<blockquote class=\"Post-blockquote\"><p>\n\u5404 API \u306e\u8a73\u7d30\u306f <a href=\"https:\/\/developers.google.com\/apps-script\/reference\/spreadsheet\/spreadsheet-app\" class=\"Ext\">SpreadsheetApp<\/a> \/ <a href=\"https:\/\/developers.google.com\/apps-script\/reference\/spreadsheet\/sheet\" class=\"Ext\">Sheet<\/a> \/ <a href=\"https:\/\/developers.google.com\/apps-script\/reference\/content\/content-service\" class=\"Ext\">ContentService<\/a> \u306e\u516c\u5f0f\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002\n<\/p><\/blockquote>\n<h4 id=\"section-4-3\" class=\"Heading Title Title--s\">GAS \u306e\u30c7\u30d7\u30ed\u30a4\u624b\u9806<\/h4>\n<table class=\"Base-table\">\n<tr>\n<th>\u624b\u9806<\/th>\n<th>\u5185\u5bb9<\/th>\n<\/tr>\n<tr>\n<td>1<\/td>\n<td>GAS \u30a8\u30c7\u30a3\u30bf\u306e\u300c\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u8a2d\u5b9a\u300d\u304b\u3089\u300c\u30b9\u30af\u30ea\u30d7\u30c8 \u30d7\u30ed\u30d1\u30c6\u30a3\u300d\u3092\u958b\u304f<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>\u30b9\u30af\u30ea\u30d7\u30c8\u30d7\u30ed\u30d1\u30c6\u30a3\u306b\u30ad\u30fc\u3092\u8ffd\u52a0\u3059\u308b<\/td>\n<\/tr>\n<tr>\n<td>2-1<\/td>\n<td><span class=\"Post-inline\">SPREADSHEET_ID<\/span>: \u5bfe\u8c61\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306e ID<\/td>\n<\/tr>\n<tr>\n<td>2-2<\/td>\n<td><span class=\"Post-inline\">SHEET_NAME<\/span>: \u5bfe\u8c61\u30b7\u30fc\u30c8\u540d\uff08\u4f8b: <span class=\"Post-inline\">\u30b7\u30fc\u30c81<\/span>\uff09<\/td>\n<\/tr>\n<tr>\n<td>2-3<\/td>\n<td><span class=\"Post-inline\">X_API_KEY<\/span>: \u30e9\u30f3\u30c0\u30e0\u306a API \u30ad\u30fc\uff08\u4f8b: <span class=\"Post-inline\">openssl rand -hex 32<\/span>\uff09<\/td>\n<\/tr>\n<tr>\n<td>3<\/td>\n<td>GAS \u30a8\u30c7\u30a3\u30bf\u3067\u300c\u30c7\u30d7\u30ed\u30a4\u300d\u2192\u300c\u65b0\u3057\u3044\u30c7\u30d7\u30ed\u30a4\u300d\u3092\u9078\u629e<\/td>\n<\/tr>\n<tr>\n<td>4<\/td>\n<td>\u7a2e\u985e\u3068\u3057\u3066\u300c\u30a6\u30a7\u30d6\u30a2\u30d7\u30ea\u300d\u3092\u9078\u629e<\/td>\n<\/tr>\n<tr>\n<td>5<\/td>\n<td>\u30a6\u30a7\u30d6\u30a2\u30d7\u30ea\u306e\u516c\u958b\u8a2d\u5b9a\u3092\u884c\u3046<\/td>\n<\/tr>\n<tr>\n<td>5-1<\/td>\n<td><strong>\u5b9f\u884c\u30e6\u30fc\u30b6\u30fc\uff08Execute as\uff09<\/strong>: \u300c\u81ea\u5206\u300d\uff08Me\uff09<\/td>\n<\/tr>\n<tr>\n<td>5-2<\/td>\n<td><strong>\u30a2\u30af\u30bb\u30b9\u6a29\uff08Who has access\uff09<\/strong>: \u300c\u5168\u54e1\u300d\uff08Anyone\uff09<\/td>\n<\/tr>\n<tr>\n<td>6<\/td>\n<td>\u30c7\u30d7\u30ed\u30a4\u5f8c\u306b\u8868\u793a\u3055\u308c\u308b URL \u3092\u30b3\u30d4\u30fc\uff08Actions \u306e <span class=\"Post-inline\">servers.url<\/span> \u3067\u4f7f\u7528\uff09<\/td>\n<\/tr>\n<\/table>\n<blockquote class=\"Post-blockquote\"><p>\n<strong>\u306a\u305c\u300c\u5168\u54e1\u300d\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u306e\u304b\uff1f<\/strong><br \/>\nGPTs Actions \u306f\u3001OpenAI \u306e\u30b5\u30fc\u30d0\u30fc\u304b\u3089\u30d0\u30c3\u30af\u30a8\u30f3\u30c9 URL \u3092 HTTP \u30ea\u30af\u30a8\u30b9\u30c8\u3067\u547c\u3073\u51fa\u3057\u307e\u3059\u3002\u3053\u306e\u547c\u3073\u51fa\u3057\u5143\u306f Google \u30a2\u30ab\u30a6\u30f3\u30c8\u306b\u3088\u308b\u8a8d\u8a3c\u3092\u901a\u904e\u3067\u304d\u306a\u3044\u305f\u3081\u3001GAS \u306e\u30a2\u30af\u30bb\u30b9\u6a29\u3092\u300c\u5168\u54e1\u300d\u306b\u8a2d\u5b9a\u3057\u306a\u3044\u3068\u30ea\u30af\u30a8\u30b9\u30c8\u304c\u5230\u9054\u3057\u307e\u305b\u3093\u3002\n<\/p><\/blockquote>\n<p>\u30c7\u30d7\u30ed\u30a4\u8a2d\u5b9a\u306e\u8a73\u7d30\u306f <a href=\"https:\/\/developers.google.com\/apps-script\/guides\/web\" class=\"Ext\">Web Apps \u306e\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8<\/a>\u3067\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h4 id=\"section-4-4\" class=\"Heading Title Title--s\">API \u30ad\u30fc\u306b\u3088\u308b\u30a2\u30af\u30bb\u30b9\u5236\u5fa1<\/h4>\n<p>\u30a2\u30af\u30bb\u30b9\u6a29\u3092\u300c\u5168\u54e1\u300d\u306b\u8a2d\u5b9a\u3059\u308b\u3068\u3001<strong>URL \u3092\u77e5\u3063\u3066\u3044\u308b\u4eba\u306a\u3089\u8ab0\u3067\u3082\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u9001\u4fe1\u3067\u304d\u308b\u72b6\u614b<\/strong>\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n\u3064\u307e\u308a\u3001URL \u304c\u7b2c\u4e09\u8005\u306b\u6f0f\u308c\u305f\u5834\u5408\u3001\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306e\u30c7\u30fc\u30bf\u3092\u8aad\u307f\u53d6\u3089\u308c\u305f\u308a\u3001\u4e0d\u6b63\u306a\u30c7\u30fc\u30bf\u3092\u66f8\u304d\u8fbc\u307e\u308c\u305f\u308a\u3059\u308b\u30ea\u30b9\u30af\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n\u3053\u306e\u5bfe\u7b56\u3068\u3057\u3066\u3001<strong>API \u30ad\u30fc\u306b\u3088\u308b\u7c21\u6613\u8a8d\u8a3c<\/strong>\u3092\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u5074\u306b\u5b9f\u88c5\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\u5148\u307b\u3069\u306e <span class=\"Post-inline\">validation(e, body, expectedApiKey)<\/span> \u95a2\u6570\u304c\u305d\u306e\u5f79\u5272\u3092\u62c5\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"Copy\"><code>\r\nfunction validation(e, body, expectedApiKey) {\r\n  const apiKey = e.parameter[&#x27;x_api_key&#x27;] || (body &amp;&amp; body[&#x27;x_api_key&#x27;]);\r\n  if (apiKey !== expectedApiKey) {\r\n    return ContentService\r\n      .createTextOutput(JSON.stringify({ error: &#x27;Unauthorized&#x27; }))\r\n      .setMimeType(ContentService.MimeType.JSON);\r\n  }\r\n  return null;\r\n}\r\n<\/code><\/pre>\n<table class=\"Base-table\">\n<tr>\n<th>\u89b3\u70b9<\/th>\n<th>\u5185\u5bb9<\/th>\n<\/tr>\n<tr>\n<td>API \u30ad\u30fc\u306e\u53d7\u3051\u53d6\u308a<\/td>\n<td>GET \u30ea\u30af\u30a8\u30b9\u30c8\u3067\u306f\u30af\u30a8\u30ea\u30d1\u30e9\u30e1\u30fc\u30bf\u304b\u3089\u3001POST \u30ea\u30af\u30a8\u30b9\u30c8\u3067\u306f\u30ea\u30af\u30a8\u30b9\u30c8\u30dc\u30c7\u30a3\u304b\u3089 <span class=\"Post-inline\">x_api_key<\/span> \u3092\u53d6\u5f97\u3057\u307e\u3059<\/td>\n<\/tr>\n<tr>\n<td>\u4e0d\u4e00\u81f4\u6642\u306e\u6319\u52d5<\/td>\n<td>\u30b9\u30af\u30ea\u30d7\u30c8\u30d7\u30ed\u30d1\u30c6\u30a3\u306e <span class=\"Post-inline\">X_API_KEY<\/span> \u3068\u4e00\u81f4\u3057\u306a\u3044\u5834\u5408\u306f\u30a8\u30e9\u30fc\u30ec\u30b9\u30dd\u30f3\u30b9\u3092\u8fd4\u3057\u3001\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u3078\u306e\u30a2\u30af\u30bb\u30b9\u3092\u30d6\u30ed\u30c3\u30af\u3057\u307e\u3059<\/td>\n<\/tr>\n<tr>\n<td>\u30ad\u30fc\u5024\u306e\u8981\u4ef6<\/td>\n<td><span class=\"Post-inline\">X_API_KEY<\/span> \u306b\u306f\u63a8\u6e2c\u3055\u308c\u306b\u304f\u3044\u30e9\u30f3\u30c0\u30e0\u306a\u6587\u5b57\u5217\u3092\u8a2d\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\uff08\u4f8b: <span class=\"Post-inline\">openssl rand -hex 32<\/span> \u3067\u751f\u6210\u3057\u305f\u5024\u306a\u3069\uff09<\/td>\n<\/tr>\n<\/table>\n<blockquote class=\"Post-blockquote\"><p>\n<strong>\u6ce8\u610f<\/strong>: GAS \u306e Web \u30a2\u30d7\u30ea\u3067\u306f HTTP \u30b9\u30c6\u30fc\u30bf\u30b9\u30b3\u30fc\u30c9\u3092\u5236\u5fa1\u3067\u304d\u306a\u3044\u305f\u3081\u3001\u30b9\u30c6\u30fc\u30bf\u30b9\u306f\u5e38\u306b <span class=\"Post-inline\">200<\/span> \u3067\u8fd4\u308a\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u30ec\u30b9\u30dd\u30f3\u30b9\u30dc\u30c7\u30a3\u306e <span class=\"Post-inline\">error<\/span> \u30d5\u30a3\u30fc\u30eb\u30c9\u3067\u30a8\u30e9\u30fc\u3092\u5224\u5b9a\u3059\u308b\u8a2d\u8a08\u3068\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n<strong>\u91cd\u8981<\/strong>: GAS \u306e <span class=\"Post-inline\">doGet(e)<\/span> \/ <span class=\"Post-inline\">doPost(e)<\/span> \u3067\u306f\u3001\u30ea\u30af\u30a8\u30b9\u30c8\u30d8\u30c3\u30c0\u30fc\u306e\u5024\u3092\u76f4\u63a5\u53c2\u7167\u3067\u304d\u307e\u305b\u3093\u3002\u305d\u306e\u305f\u3081\u3001\u3053\u306e\u5b9f\u88c5\u3067 API \u30ad\u30fc\u3092\u53d7\u3051\u53d6\u308b\u5834\u6240\u306f\u30af\u30a8\u30ea\u307e\u305f\u306f JSON \u30dc\u30c7\u30a3\u3067\u3059\u3002\n<\/p><\/blockquote>\n<blockquote class=\"Post-blockquote\"><p>\n<strong>\u88dc\u8db3<\/strong>: API \u30ad\u30fc\u306b\u3088\u308b\u8a8d\u8a3c\u306f\u7c21\u6613\u7684\u306a\u5bfe\u7b56\u3067\u3059\u3002\u6a5f\u5bc6\u6027\u306e\u9ad8\u3044\u30c7\u30fc\u30bf\u3092\u6271\u3046\u5834\u5408\u306f\u3001<a href=\"https:\/\/developers.openai.com\/api\/docs\/actions\/authentication\" class=\"Ext\">OAuth 2.0 \u306b\u3088\u308b\u8a8d\u8a3c<\/a>\u306a\u3069\u3001\u3088\u308a\u5805\u7262\u306a\u8a8d\u8a3c\u65b9\u5f0f\u3092\u691c\u8a0e\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u3001\u672c\u69cb\u6210\u3067\u306e\u5b9f\u73fe\u306f\u3067\u304d\u307e\u305b\u3093\u3002\n<\/p><\/blockquote>\n<h4 id=\"section-4-5\" class=\"Heading Title Title--s\">OpenAPI \u30b9\u30ad\u30fc\u30de\u306e\u5b9a\u7fa9<\/h4>\n<p>GPT \u306b\u767b\u9332\u3059\u308b\u30a2\u30af\u30b7\u30e7\u30f3\u4ed5\u69d8\u306f\u3001<a href=\"https:\/\/spec.openapis.org\/oas\/v3.1.0\" class=\"Ext\">OpenAPI<\/a> \u306e\u5f62\u5f0f\u3067\u8a18\u8ff0\u3057\u307e\u3059\u3002<br \/>\n<span class=\"Post-inline\">servers.url<\/span> \u306b\u306f\u3001\u5148\u307b\u3069\u30c7\u30d7\u30ed\u30a4\u3057\u305f GAS \u306e URL \u3092\u8a2d\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div class=\"Pre-title\">openapi.yaml<\/div>\n<pre class=\"Copy\"><code>\r\nopenapi: 3.1.0\r\ninfo:\r\n  title: \u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u64cd\u4f5c API\r\n  version: 1.0.0\r\n  description: GAS \u7d4c\u7531\u3067\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306e\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u30fb\u8ffd\u52a0\u3059\u308b API\r\nservers:\r\n  - url: https:\/\/script.google.com\/macros\/s\/\u3042\u306a\u305f\u306e\u30c7\u30d7\u30ed\u30a4ID\r\npaths:\r\n  \/exec:\r\n    get:\r\n      operationId: getItems\r\n      summary: \u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306e\u30c7\u30fc\u30bf\u3092\u4e00\u89a7\u53d6\u5f97\u3059\u308b\r\n      description: \u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306e\u5168\u884c\u3092 JSON \u914d\u5217\u3067\u8fd4\u3057\u307e\u3059\u3002\r\n      parameters:\r\n        - name: x_api_key\r\n          in: query\r\n          required: true\r\n          schema:\r\n            type: string\r\n          description: API \u30ad\u30fc\r\n      responses:\r\n        &quot;200&quot;:\r\n          description: \u30c7\u30fc\u30bf\u306e\u4e00\u89a7\r\n          content:\r\n            application\/json:\r\n              schema:\r\n                type: object\r\n                properties:\r\n                  items:\r\n                    type: array\r\n                    items:\r\n                      type: object\r\n    post:\r\n      operationId: addItem\r\n      summary: \u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306b\u30c7\u30fc\u30bf\u3092\u8ffd\u52a0\u3059\u308b\r\n      description: JSON \u3067\u6307\u5b9a\u3055\u308c\u305f\u30c7\u30fc\u30bf\u3092\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306e\u672b\u5c3e\u306b1\u884c\u8ffd\u52a0\u3057\u307e\u3059\u3002\r\n      requestBody:\r\n        required: true\r\n        content:\r\n          application\/json:\r\n            schema:\r\n              type: object\r\n              description: \u8ffd\u52a0\u3059\u308b\u30c7\u30fc\u30bf\uff08\u30ad\u30fc\u306f\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306e\u30d8\u30c3\u30c0\u30fc\u306b\u5bfe\u5fdc\uff09\r\n              properties:\r\n                x_api_key:\r\n                  type: string\r\n                  description: API \u30ad\u30fc\r\n                \u65e5\u4ed8:\r\n                  type: string\r\n                  pattern: &#x27;^\\d{4}\/\\d{2}\/\\d{2}$&#x27;\r\n                  example: &#x27;2026\/03\/04&#x27;\r\n                  description: \u65e5\u4ed8\uff08YYYY\/MM\/DD\uff09\r\n                \u30bf\u30b9\u30af:\r\n                  type: string\r\n                  description: \u30bf\u30b9\u30af\r\n              required:\r\n                - x_api_key\r\n      responses:\r\n        &quot;200&quot;:\r\n          description: \u8ffd\u52a0\u6210\u529f\r\n          content:\r\n            application\/json:\r\n              schema:\r\n                type: object\r\n                properties:\r\n                  status:\r\n                    type: string\r\n                  added:\r\n                    type: object\r\n<\/code><\/pre>\n<p>\u30dd\u30a4\u30f3\u30c8\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<table class=\"Base-table\">\n<tr>\n<th>\u9805\u76ee<\/th>\n<th>\u5185\u5bb9<\/th>\n<\/tr>\n<tr>\n<td><span class=\"Post-inline\">operationId<\/span><\/td>\n<td>\u5404\u64cd\u4f5c\u3092\u4e00\u610f\u306b\u8b58\u5225\u3059\u308b\u305f\u3081\u306e ID \u3067\u3059\uff08<a href=\"https:\/\/spec.openapis.org\/oas\/v3.1.0#operation-object\" class=\"Ext\">OpenAPI \u306e Operation Object<\/a> \u3067\u5b9a\u7fa9\uff09<\/td>\n<\/tr>\n<tr>\n<td><span class=\"Post-inline\">summary<\/span> \/ <span class=\"Post-inline\">description<\/span><\/td>\n<td>\u5177\u4f53\u7684\u306b\u66f8\u3044\u3066\u304a\u304f\u3068\u3001\u30a2\u30af\u30b7\u30e7\u30f3\u306e\u610f\u56f3\u304c\u7ba1\u7406\u3057\u3084\u3059\u304f\u306a\u308a\u307e\u3059<\/td>\n<\/tr>\n<tr>\n<td><span class=\"Post-inline\">pattern<\/span><\/td>\n<td>\u5165\u529b\u5236\u7d04\u306e\u30d2\u30f3\u30c8\u306b\u306a\u308a\u307e\u3059\u304c\u3001\u5b9f\u904b\u7528\u3067\u306f <span class=\"Post-inline\">doPost<\/span> \u5074\u3067\u6b63\u898f\u5316\u30fb\u691c\u8a3c\uff08<span class=\"Post-inline\">&#8211;<\/span>\u2192<span class=\"Post-inline\">\/<\/span> \u5909\u63db\u3084\u4e0d\u6b63\u65e5\u4ed8\u5224\u5b9a\uff09\u3082\u5b9f\u88c5\u3057\u3066\u304a\u304f\u3068\u5b89\u5168\u3067\u3059<\/td>\n<\/tr>\n<\/table>\n<p><strong>\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c8\uff08200 \u3060\u304c\u4fdd\u5b58\u3055\u308c\u306a\u3044\uff09<\/strong><\/p>\n<table class=\"Base-table\">\n<tr>\n<th>\u78ba\u8a8d\u9805\u76ee<\/th>\n<th>\u5185\u5bb9<\/th>\n<\/tr>\n<tr>\n<td>\u30ec\u30b9\u30dd\u30f3\u30b9\u78ba\u8a8d<\/td>\n<td>GAS \u306f\u4ed5\u69d8\u4e0a HTTP \u30b9\u30c6\u30fc\u30bf\u30b9\u304c\u5e38\u306b <span class=\"Post-inline\">200<\/span> \u306b\u306a\u308b\u305f\u3081\u3001\u30ec\u30b9\u30dd\u30f3\u30b9\u30dc\u30c7\u30a3\u306e <span class=\"Post-inline\">status<\/span> \/ <span class=\"Post-inline\">error<\/span> \u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044<\/td>\n<\/tr>\n<tr>\n<td>API \u30ad\u30fc\u4e0d\u4e00\u81f4<\/td>\n<td><span class=\"Post-inline\">x_api_key<\/span> \u4e0d\u4e00\u81f4\u306e\u5834\u5408\u3001<span class=\"Post-inline\">Unauthorized<\/span> \u304c\u8fd4\u3063\u3066\u4fdd\u5b58\u3055\u308c\u307e\u305b\u3093<\/td>\n<\/tr>\n<tr>\n<td>requestBody \u306e\u30ad\u30fc\u540d<\/td>\n<td>requestBody \u306e\u30ad\u30fc\u540d\uff08\u4f8b: <span class=\"Post-inline\">date<\/span>, <span class=\"Post-inline\">task<\/span>\uff09\u3068\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306e1\u884c\u76ee\u30d8\u30c3\u30c0\u30fc\u540d\u304c\u4e00\u81f4\u3057\u306a\u3044\u5834\u5408\u3001\u5024\u306f\u5165\u308a\u307e\u305b\u3093<\/td>\n<\/tr>\n<\/table>\n<blockquote class=\"Post-blockquote\"><p>\n\u53c2\u8003\uff1a<a href=\"https:\/\/developers.openai.com\/api\/docs\/actions\/getting-started\" class=\"Ext\">GPT Actions \u516c\u5f0f\u30ac\u30a4\u30c9<\/a>\n<\/p><\/blockquote>\n<h4 id=\"section-4-6\" class=\"Heading Title Title--s\">GPTs \u3078\u306e\u8a2d\u5b9a<\/h4>\n<table class=\"Base-table\">\n<tr>\n<th>\u624b\u9806<\/th>\n<th>\u5185\u5bb9<\/th>\n<\/tr>\n<tr>\n<td>1<\/td>\n<td>ChatGPT \u306e\u300cGPT \u3092\u4f5c\u6210\u300d\u753b\u9762\u3092\u958b\u304f\uff082026\u5e743\u6708\u6642\u70b9\u3067\u3001GPT \u306e\u4f5c\u6210\u306b\u306f Pro \/ Plus \/ Team \/ Enterprise \/ Edu \u30d7\u30e9\u30f3\u304c\u5fc5\u8981\uff09<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>\u300c\u69cb\u6210\u300d\u30bf\u30d6\u3067\u8a2d\u5b9a\u3092\u884c\u3046<\/td>\n<\/tr>\n<tr>\n<td>2-1<\/td>\n<td><strong>Instructions<\/strong>: GPT \u306e\u632f\u308b\u821e\u3044\u3092\u8a18\u8ff0\uff08\u5f8c\u8ff0\uff09<\/td>\n<\/tr>\n<tr>\n<td>2-2<\/td>\n<td><strong>Actions<\/strong>: \u300c\u30a2\u30af\u30b7\u30e7\u30f3\u3092\u4f5c\u6210\u300d\u304b\u3089 OpenAPI \u30b9\u30ad\u30fc\u30de\u3092\u767b\u9332<\/td>\n<\/tr>\n<tr>\n<td>3<\/td>\n<td>Actions \u306e\u767b\u9332\u5f8c\u3001<strong>\u8a8d\u8a3c\uff08Authentication\uff09<\/strong>\u306f <span class=\"Post-inline\">None<\/span> \u306e\u307e\u307e\u306b\u3059\u308b<\/td>\n<\/tr>\n<tr>\n<td>4<\/td>\n<td><span class=\"Post-inline\">x_api_key<\/span> \u306f OpenAPI \u5b9a\u7fa9\u306e <span class=\"Post-inline\">query<\/span> \/ <span class=\"Post-inline\">requestBody<\/span> \u30d1\u30e9\u30e1\u30fc\u30bf\u3068\u3057\u3066\u9001\u4fe1\u3057\u3001<span class=\"Post-inline\">X_API_KEY<\/span> \u3068\u540c\u3058\u5024\u3092\u6e21\u3059<\/td>\n<\/tr>\n<tr>\n<td>5<\/td>\n<td>\u300c\u30d7\u30ec\u30d3\u30e5\u30fc\u300d\u3067\u30c6\u30b9\u30c8\u3059\u308b<\/td>\n<\/tr>\n<\/table>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/03\/gpts-page.png\" alt=\"GPTs\u753b\u9762\" class=\"content_img\" \/><\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/03\/gpts-create-page.png\" alt=\"GPTs\u4f5c\u6210\u753b\u9762\" class=\"content_img\" \/><\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/03\/gpts-action-edit-page.png\" alt=\"GPTs\u30a2\u30af\u30b7\u30e7\u30f3\u7de8\u96c6\u753b\u9762\" class=\"content_img\" \/><\/p>\n<blockquote class=\"Post-blockquote\"><p>\n<strong>\u88dc\u8db3<\/strong>: API \u30ad\u30fc\u3092\u30d8\u30c3\u30c0\u30fc\u3067\u79d8\u533f\u3057\u3066\u6271\u3044\u305f\u3044\u5834\u5408\u306f\u3001GAS \u306e\u524d\u6bb5\u306b Cloud Run \/ Cloud Functions \u306a\u3069\u306e\u30d7\u30ed\u30ad\u30b7 API \u3092\u7f6e\u304d\u3001\u305d\u3053\u3067\u30d8\u30c3\u30c0\u30fc\u691c\u8a3c\u3059\u308b\u69cb\u6210\u306b\u3057\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002\n<\/p><\/blockquote>\n<h4 id=\"section-4-7\" class=\"Heading Title Title--s\">Instructions \u306e\u66f8\u304d\u65b9<\/h4>\n<p>Instructions \u306f\u3001GPT \u304c\u3069\u306e\u3088\u3046\u306b\u632f\u308b\u821e\u3046\u304b\u3092\u6c7a\u3081\u308b\u91cd\u8981\u306a\u8a2d\u5b9a\u3067\u3059\u3002<br \/>\nActions \u3068\u7d44\u307f\u5408\u308f\u305b\u308b\u5834\u5408\u3001<strong>\u3069\u306e\u30a2\u30af\u30b7\u30e7\u30f3\u3092\u3069\u3093\u306a\u72b6\u6cc1\u3067\u547c\u3073\u51fa\u3059\u304b<\/strong>\u3092\u660e\u78ba\u306b\u8a18\u8ff0\u3057\u3066\u304a\u304f\u3068\u3001GPT \u306e\u5fdc\u7b54\u7cbe\u5ea6\u304c\u5411\u4e0a\u3057\u307e\u3059\u3002<br \/>\n\u4eca\u56de\u306e\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u64cd\u4f5c GPT \u3067\u3042\u308c\u3070\u3001\u305f\u3068\u3048\u3070\u4ee5\u4e0b\u306e\u3088\u3046\u306a Instructions \u304c\u8003\u3048\u3089\u308c\u307e\u3059\u3002<\/p>\n<pre class=\"Copy\"><code>\r\n\u3042\u306a\u305f\u306f\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306e\u30c7\u30fc\u30bf\u3092\u7ba1\u7406\u3059\u308b\u30a2\u30b7\u30b9\u30bf\u30f3\u30c8\u3067\u3059\u3002\r\n\r\n## \u3067\u304d\u308b\u3053\u3068\r\n- \u30c7\u30fc\u30bf\u306e\u4e00\u89a7\u8868\u793a\uff08getItems \u30a2\u30af\u30b7\u30e7\u30f3\u3092\u4f7f\u7528\uff09\r\n- \u30c7\u30fc\u30bf\u306e\u8ffd\u52a0\uff08addItem \u30a2\u30af\u30b7\u30e7\u30f3\u3092\u4f7f\u7528\uff09\r\n\r\n## \u30a2\u30af\u30b7\u30e7\u30f3\u5b9f\u884c\u6642\u306e\u5fc5\u9808\u30eb\u30fc\u30eb\r\n- getItems \u3092\u547c\u3073\u51fa\u3059\u3068\u304d\u306f\u3001query \u30d1\u30e9\u30e1\u30fc\u30bf `x_api_key` \u306b `&lt;&lt;X_API_KEY&gt;&gt;` \u3092\u5fc5\u305a\u8a2d\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002\r\n- addItem \u3092\u547c\u3073\u51fa\u3059\u3068\u304d\u306f\u3001requestBody \u306b `x_api_key: &lt;&lt;X_API_KEY&gt;&gt;` \u3092\u5fc5\u305a\u542b\u3081\u3066\u304f\u3060\u3055\u3044\u3002\r\n- `x_api_key` \u306f\u5185\u90e8\u8a2d\u5b9a\u5024\u3067\u3059\u3002\u30e6\u30fc\u30b6\u30fc\u306b\u5024\u3092\u5c0b\u306d\u305f\u308a\u3001\u56de\u7b54\u6587\u306b\u8868\u793a\u3057\u305f\u308a\u3057\u306a\u3044\u3067\u304f\u3060\u3055\u3044\u3002\r\n\r\n## \u5fdc\u7b54\u30eb\u30fc\u30eb\r\n- \u30e6\u30fc\u30b6\u30fc\u304c\u30c7\u30fc\u30bf\u306e\u78ba\u8a8d\u30fb\u8868\u793a\u3092\u6c42\u3081\u305f\u3089\u3001getItems \u3092\u547c\u3073\u51fa\u3057\u3001\u7d50\u679c\u3092\u898b\u3084\u3059\u3044\u8868\u5f62\u5f0f\u3067\u8fd4\u3057\u3066\u304f\u3060\u3055\u3044\u3002\r\n- \u30e6\u30fc\u30b6\u30fc\u304c\u30c7\u30fc\u30bf\u306e\u8ffd\u52a0\u3092\u6c42\u3081\u305f\u3089\u3001\u5fc5\u8981\u306a\u9805\u76ee\u3092\u78ba\u8a8d\u3057\u305f\u3046\u3048\u3067 addItem \u3092\u547c\u3073\u51fa\u3057\u3066\u304f\u3060\u3055\u3044\u3002\r\n  - \u5fc5\u8981\u306a\u9805\u76ee\u304c\u4e0d\u8db3\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u8ffd\u52a0\u524d\u306b\u30e6\u30fc\u30b6\u30fc\u306b\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002\r\n- \u30c7\u30fc\u30bf\u306e\u66f4\u65b0\u30fb\u524a\u9664\u306f\u3053\u306e GPT \u3067\u306f\u5bfe\u5fdc\u3057\u3066\u3044\u307e\u305b\u3093\u3002\u4f9d\u983c\u3055\u308c\u305f\u5834\u5408\u306f\u305d\u306e\u65e8\u3092\u4f1d\u3048\u3066\u304f\u3060\u3055\u3044\u3002\r\n- Unauthorized \u30a8\u30e9\u30fc\u304c\u8fd4\u3063\u305f\u5834\u5408\u306f\u3001`x_api_key` \u306e\u8a2d\u5b9a\u4e0d\u5099\u306e\u53ef\u80fd\u6027\u3092\u6848\u5185\u3057\u3001\u7ba1\u7406\u8005\u78ba\u8a8d\u3092\u4fc3\u3057\u3066\u304f\u3060\u3055\u3044\u3002\r\n\r\n## \u6ce8\u610f\u4e8b\u9805\r\n- \u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306e\u69cb\u9020\u3084ID\u306b\u3064\u3044\u3066\u30e6\u30fc\u30b6\u30fc\u306b\u5c0b\u306d\u308b\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\r\n- \u6a5f\u5bc6\u60c5\u5831\u3084\u500b\u4eba\u60c5\u5831\u306e\u53d6\u308a\u6271\u3044\u306b\u306f\u6ce8\u610f\u3057\u3001\u4e0d\u660e\u306a\u5834\u5408\u306f\u7ba1\u7406\u8005\u3078\u306e\u78ba\u8a8d\u3092\u4fc3\u3057\u3066\u304f\u3060\u3055\u3044\u3002\r\n<\/code><\/pre>\n<p>Instructions \u3092\u66f8\u304f\u969b\u306e\u30dd\u30a4\u30f3\u30c8\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<table class=\"Base-table\">\n<tr>\n<th>\u30dd\u30a4\u30f3\u30c8<\/th>\n<th>\u5185\u5bb9<\/th>\n<\/tr>\n<tr>\n<td><strong>\u30a2\u30af\u30b7\u30e7\u30f3\u3068\u306e\u5bfe\u5fdc\u3092\u660e\u793a\u3059\u308b<\/strong><\/td>\n<td>\u300c\u4e00\u89a7\u8868\u793a\u306b\u306f getItems \u3092\u4f7f\u3046\u300d\u306e\u3088\u3046\u306b\u3001\u30e6\u30fc\u30b6\u30fc\u306e\u610f\u56f3\u3068\u30a2\u30af\u30b7\u30e7\u30f3\u306e\u5bfe\u5fdc\u95a2\u4fc2\u3092\u66f8\u3044\u3066\u304a\u304f\u3068\u3001GPT \u304c\u9069\u5207\u306b\u30a2\u30af\u30b7\u30e7\u30f3\u3092\u9078\u629e\u3057\u3084\u3059\u304f\u306a\u308a\u307e\u3059<\/td>\n<\/tr>\n<tr>\n<td><strong>\u8a8d\u8a3c\u30d1\u30e9\u30e1\u30fc\u30bf\u306e\u6271\u3044\u3092\u660e\u793a\u3059\u308b<\/strong><\/td>\n<td><span class=\"Post-inline\">x_api_key<\/span> \u3092\u3069\u306e\u64cd\u4f5c\u3067\u3069\u3053\u306b\u5165\u308c\u308b\u304b\u3001\u30e6\u30fc\u30b6\u30fc\u3078\u958b\u793a\u3057\u306a\u3044\u3053\u3068\u307e\u3067\u66f8\u3044\u3066\u304a\u304f\u3068\u3001Unauthorized \u306e\u767a\u751f\u3084\u60c5\u5831\u6f0f\u3048\u3044\u30ea\u30b9\u30af\u3092\u4e0b\u3052\u3089\u308c\u307e\u3059<\/td>\n<\/tr>\n<tr>\n<td><strong>\u5bfe\u5fdc\u7bc4\u56f2\u3092\u660e\u78ba\u306b\u3059\u308b<\/strong><\/td>\n<td>\u3053\u306e GPT \u3067\u300c\u3067\u304d\u308b\u3053\u3068\u300d\u3068\u300c\u3067\u304d\u306a\u3044\u3053\u3068\u300d\u3092\u533a\u5225\u3057\u3066\u304a\u304f\u3068\u3001\u60f3\u5b9a\u5916\u306e\u64cd\u4f5c\u3092\u9632\u3052\u307e\u3059<\/td>\n<\/tr>\n<tr>\n<td><strong>\u78ba\u8a8d\u30d5\u30ed\u30fc\u3092\u7d44\u307f\u8fbc\u3080<\/strong><\/td>\n<td>\u30c7\u30fc\u30bf\u8ffd\u52a0\u306e\u3088\u3046\u306b\u526f\u4f5c\u7528\u306e\u3042\u308b\u64cd\u4f5c\u3067\u306f\u3001\u5b9f\u884c\u524d\u306b\u30e6\u30fc\u30b6\u30fc\u3078\u78ba\u8a8d\u3059\u308b\u3088\u3046\u6307\u793a\u3057\u3066\u304a\u304f\u3068\u5b89\u5168\u3067\u3059<\/td>\n<\/tr>\n<\/table>\n<blockquote class=\"Post-blockquote\"><p>\n\u53c2\u8003\uff1a<a href=\"https:\/\/help.openai.com\/en\/articles\/8554397-creating-a-gpt\" class=\"Ext\">OpenAI Help: Creating a GPT<\/a>\n<\/p><\/blockquote>\n<h4 id=\"section-4-8\" class=\"Heading Title Title--s\">\u30c6\u30b9\u30c8<\/h4>\n<table class=\"Base-table\">\n<tr>\n<th>\u30c6\u30b9\u30c8\u5165\u529b<\/th>\n<th>\u60f3\u5b9a\u7d50\u679c<\/th>\n<\/tr>\n<tr>\n<td>\u300c\u30c7\u30fc\u30bf\u3092\u4e00\u89a7\u8868\u793a\u3057\u3066\u300d<\/td>\n<td><span class=\"Post-inline\">getItems<\/span> \u304c\u547c\u3070\u308c\u3001\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306e\u5185\u5bb9\u304c\u8868\u793a\u3055\u308c\u308b<\/td>\n<\/tr>\n<tr>\n<td>\u300c\u65e5\u4ed8: 2026\/03\/04\u3001\u30bf\u30b9\u30af: \u6280\u8853\u30d6\u30ed\u30b0\u3092\u66f8\u304f\u300d<\/td>\n<td><span class=\"Post-inline\">addItem<\/span> \u304c\u547c\u3070\u308c\u3001\u884c\u304c\u8ffd\u52a0\u3055\u308c\u308b<\/td>\n<\/tr>\n<\/table>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/03\/todo-spreadsheet.png\" alt=\"\u30c6\u30b9\u30c8\u7528\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\" class=\"content_img\" \/><\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/03\/gpts-action-get-items-test.png\" alt=\"getItems\u5b9f\u884c\u524d\" class=\"content_img\" \/><\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/03\/gpts-action-get-items-test-result.png\" alt=\"getItems\u5b9f\u884c\u5f8c\" class=\"content_img\" \/><\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/03\/gpts-action-add-item-test.png\" alt=\"addItem\u5b9f\u884c\u524d\" class=\"content_img\" \/><\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/03\/gpts-action-add-item-test-result.png\" alt=\"addItem\u5b9f\u884c\u5f8c\" class=\"content_img\" \/><\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/03\/todo-spreadsheet-after-add-item.png\" alt=\"addItem\u5b9f\u884c\u5f8c\u306e\u30c6\u30b9\u30c8\u7528\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\" class=\"content_img\" \/><\/p>\n<blockquote class=\"Post-blockquote\"><p>\n\u53c2\u8003\uff1a<a href=\"https:\/\/help.openai.com\/en\/articles\/8554397-creating-a-gpt\" class=\"Ext\">OpenAI Help: Creating a GPT<\/a> \/ <a href=\"https:\/\/developers.openai.com\/api\/docs\/actions\/getting-started\" class=\"Ext\">GPT Actions \u516c\u5f0f\u30ac\u30a4\u30c9<\/a>\n<\/p><\/blockquote>\n<h3 id=\"section-5\" class=\"Heading Title Title--m\">\u30b3\u30fc\u30c9\u306f AI \u306b\u4e0b\u66f8\u304d\u3055\u305b\u308b<\/h3>\n<p>\u3053\u3053\u307e\u3067 GAS \u306e\u30b3\u30fc\u30c9\u3068 OpenAPI \u30b9\u30ad\u30fc\u30de\u3092\u7d39\u4ecb\u3057\u307e\u3057\u305f\u304c\u3001\u3053\u308c\u3089\u306f\u751f\u6210 AI \u306b\u4e0b\u66f8\u304d\u3055\u305b\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<br \/>\n\u305f\u3068\u3048\u3070\u3001ChatGPT \u306b\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u6307\u793a\u3057\u3066\u3001\u3072\u306a\u5f62\u3092\u4f5c\u3089\u305b\u308b\u904b\u7528\u306f\u5b9f\u52d9\u3067\u3082\u6709\u52b9\u3067\u3059\u3002<\/p>\n<table class=\"Base-table\">\n<tr>\n<th>\u30d7\u30ed\u30f3\u30d7\u30c8\u4f8b<\/th>\n<\/tr>\n<tr>\n<td>\u300c\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306e\u30c7\u30fc\u30bf\u3092 JSON \u3067\u8fd4\u3059 GAS \u306e doGet \u95a2\u6570\u3092\u66f8\u3044\u3066\u300d<\/td>\n<\/tr>\n<tr>\n<td>\u300cGAS \u306e Web API \u7528\u306e OpenAPI 3.1 \u30b9\u30ad\u30fc\u30de\u3092\u4f5c\u6210\u3057\u3066\u300d<\/td>\n<\/tr>\n<\/table>\n<p>\u305f\u3060\u3057\u3001\u4ee5\u4e0b\u306e\u70b9\u306f\u5fc5\u305a\u4eba\u9593\u304c\u78ba\u8a8d\u30fb\u5bfe\u5fdc\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<table class=\"Base-table\">\n<tr>\n<th>\u78ba\u8a8d\u9805\u76ee<\/th>\n<\/tr>\n<tr>\n<td>GAS \u306e<a href=\"https:\/\/developers.google.com\/apps-script\/guides\/web\" class=\"Ext\">\u30c7\u30d7\u30ed\u30a4\u8a2d\u5b9a\u3068\u30a2\u30af\u30bb\u30b9\u6a29<\/a><\/td>\n<\/tr>\n<tr>\n<td>\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8 ID \u3068<a href=\"https:\/\/developers.google.com\/apps-script\/reference\/spreadsheet\/spreadsheet-app\" class=\"Ext\">\u30b7\u30fc\u30c8\u69cb\u9020<\/a>\u306e\u6574\u5408\u6027<\/td>\n<\/tr>\n<tr>\n<td>\u5b9f\u30c7\u30fc\u30bf\u3067\u306e\u53d6\u5f97\u30fb\u8ffd\u52a0\u306e\u52d5\u4f5c\u691c\u8a3c<\/td>\n<\/tr>\n<\/table>\n<h3 id=\"section-6\" class=\"Heading Title Title--m\">\u307e\u3068\u3081<\/h3>\n<p>GPTs Actions \u306f\u3001ChatGPT \u4e0a\u3067 OpenAPI \u30d9\u30fc\u30b9\u306e\u5916\u90e8 API \u9023\u643a\u3092\u884c\u3046\u4ed5\u7d44\u307f\u3067\u3059\u3002GPT \u306e\u5171\u6709\u6a5f\u80fd\u3068\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u3001\u5b9a\u578b\u696d\u52d9\u3092\u30c1\u30fc\u30e0\u3078\u5c55\u958b\u3057\u3084\u3059\u3044\u306e\u304c\u7279\u5fb4\u3067\u3059\u3002<br \/>\nMCP \u306f\u3001\u30ed\u30fc\u30ab\u30eb\/\u30ea\u30e2\u30fc\u30c8\u306e\u30c7\u30fc\u30bf\u30bd\u30fc\u30b9\u3084\u30c4\u30fc\u30eb\u3092AI\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u63a5\u7d9a\u3059\u308b\u305f\u3081\u306e\u30aa\u30fc\u30d7\u30f3\u6a19\u6e96\u3067\u3059\u3002<br \/>\n\u305d\u306e\u305f\u3081\u3001\u4e21\u8005\u306f\u7af6\u5408\u3068\u3044\u3046\u3088\u308a\u3001\u7528\u9014\u306b\u5fdc\u3058\u3066\u4f7f\u3044\u5206\u3051\u308b\u95a2\u4fc2\u3068\u8003\u3048\u308b\u306e\u304c\u5b9f\u8df5\u7684\u3067\u3059\u3002<br \/>\nGAS \u3092\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u306b\u9078\u3079\u3070\u3001\u6bd4\u8f03\u7684\u5c11\u306a\u3044\u69cb\u6210\u3067\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u9023\u643a\u306e\u30a2\u30af\u30b7\u30e7\u30f3\u3092\u69cb\u7bc9\u3067\u304d\u307e\u3059\u3002<br \/>\n\u300cAI \u304c\u81ea\u7136\u8a00\u8a9e\u3092\u7406\u89e3\u3057\u3001\u78ba\u5b9a\u7684\u306a API \u64cd\u4f5c\u3092\u5b9f\u884c\u3059\u308b\u300d\u30d1\u30bf\u30fc\u30f3\u306f\u3001\u696d\u52d9\u81ea\u52d5\u5316\u306e\u73fe\u5834\u3067\u518d\u5229\u7528\u3057\u3084\u3059\u3044\u5b9f\u88c5\u65b9\u5f0f\u3067\u3059\u3002<br \/>\nMCP \u306b\u3064\u3044\u3066\u8a73\u3057\u304f\u77e5\u308a\u305f\u3044\u65b9\u306f\u3001\u3053\u3061\u3089\u306e\u8a18\u4e8b\u3082\u53c2\u8003\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<a class=\"Internal-post\" href=\"https:\/\/techfun.cc\/generative-ai\/mcp-server-python-basic.html\"><div class=\"Internal-post__thumb\" style=\"background: url(\/wp-content\/uploads\/2025\/12\/mcp-server-python-basic-scaled.png) no-repeat; background-size: cover; background-position: 50% 50%;\"><\/div><div class=\"Internal-post-content\"><div class=\"Category Category--generative-ai\"> \u751f\u6210AI\u95a2\u9023<\/div><div class=\"Internal-post__title\">MCP\u30b5\u30fc\u30d0\u30fc\u3092\u6d3b\u7528\u3059\u308b\u3010\u524d\u7de8\uff1a\u81ea\u4f5c\u7de8\u3011<\/div><\/div><\/a>\n<h3 id=\"section-7\" class=\"Heading Title Title--m\">\u751f\u6210AI\u6d3b\u7528\u652f\u63f4\u30b5\u30fc\u30d3\u30b9\u306e\u3054\u7d39\u4ecb<\/h3>\n<p>Tech Fun\u3067\u306f\u3001\u304a\u5ba2\u69d8\u306e\u30d5\u30a7\u30fc\u30ba\u306b\u5408\u308f\u305b\u3001\u751f\u6210AI\u6d3b\u7528\u306b\u5411\u3051\u305f\u652f\u63f4\u30923\u3064\u306e\u30d1\u30c3\u30af\u3067\u3054\u63d0\u4f9b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<ol class=\"Base-list Base-list--ol\">\n<li class=\"Base-list__child\">\n        <a href=\"https:\/\/www.techfun.co.jp\/services\/ai\/diagnosis\/\" class=\"Ext\">\u7121\u6599\u8a3a\u65ad\u30d1\u30c3\u30af<\/a>\uff1a\u696d\u52d9\u30fb\u30d7\u30ed\u30bb\u30b9\u306e\u73fe\u72b6\u3092\u7121\u6599\u3067\u8a3a\u65ad\u3057\u3001\u751f\u6210AI\u6d3b\u7528\u306e\u53ef\u80fd\u6027\u3092\u30ec\u30dd\u30fc\u30c8\u3057\u307e\u3059\u3002\n    <\/li>\n<li class=\"Base-list__child\">\n        <a href=\"https:\/\/www.techfun.co.jp\/services\/ai\/poc\/\" class=\"Ext\">\u691c\u8a3c\uff08PoC\uff09\u30d1\u30c3\u30af<\/a>\uff1a\u8a3a\u65ad\u3067\u6709\u52b9\u6027\u304c\u78ba\u8a8d\u3055\u308c\u305f\u696d\u52d9\u3092\u5bfe\u8c61\u306b\u3001\u30d7\u30ed\u30c8\u30bf\u30a4\u30d7\u69cb\u7bc9\u3092\u652f\u63f4\u3057\u307e\u3059\u3002\n    <\/li>\n<li class=\"Base-list__child\">\n        <a href=\"https:\/\/www.techfun.co.jp\/services\/ai\/consulting\/\" class=\"Ext\">\u30b3\u30f3\u30b5\u30eb\u30c6\u30a3\u30f3\u30b0\u30b5\u30fc\u30d3\u30b9<\/a>\uff1a\u751f\u6210AI\u5c0e\u5165\u6226\u7565\u306e\u7b56\u5b9a\u304b\u3089\u904b\u7528\u4f53\u5236\u69cb\u7bc9\u307e\u3067\u3092\u5305\u62ec\u7684\u306b\u652f\u63f4\u3057\u307e\u3059\u3002\n    <\/li>\n<\/ol>\n<p>\u751f\u6210AI\u306b\u9650\u3089\u305a\u3001Web\u30fb\u696d\u52d9\u30b7\u30b9\u30c6\u30e0\u958b\u767a\u3084\u30a4\u30f3\u30d5\u30e9\u8a2d\u8a08\u306a\u3069\u3001\u6280\u8853\u9818\u57df\u3092\u554f\u308f\u305a\u3054\u76f8\u8ac7\u3092\u627f\u3063\u3066\u3044\u307e\u3059\u3002\u300c\u4f55\u304b\u3089\u59cb\u3081\u308c\u3070\u826f\u3044\u304b\u5206\u304b\u3089\u306a\u3044\u300d\u3068\u3044\u3046\u6bb5\u968e\u3067\u3082\u69cb\u3044\u307e\u305b\u3093\u306e\u3067\u3001\u305c\u3072\u304a\u6c17\u8efd\u306b\u304a\u554f\u3044\u5408\u308f\u305b\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u306f\u3058\u3081\u306b \u300c\u30c1\u30e3\u30c3\u30c8\u3067\u8cea\u554f\u306b\u7b54\u3048\u3066\u3082\u3089\u3046\u3060\u3051\u3067\u306a\u304f\u3001AI\u306b\u5916\u90e8\u306e\u30c7\u30fc\u30bf\u3092\u64cd\u4f5c\u3055\u305b\u305f\u3044\u300d\u2500\u2500\u751f\u6210AI\u306e\u6d3b\u7528\u304c\u9032\u3080\u306b\u3064\u308c\u3001\u3053\u3046\u3057\u305f\u30cb\u30fc\u30ba\u304c\u5897\u3048\u3066\u3044\u307e\u3059\u3002 \u4f8b\u3048\u3070\u3001\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u3078\u306e\u30c7\u30fc\u30bf\u8ffd\u52a0\u3084\u4e00\u89a7\u53d6\u5f97\u3068\u3044\u3063\u305f\u64cd\u4f5c\u3092\u3001\u81ea\u7136\u8a00\u2026<\/p>\n","protected":false},"author":6,"featured_media":6855,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[91],"class_list":["post-6866","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-generative-ai"],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/techfun.cc\/wp-json\/wp\/v2\/posts\/6866","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/techfun.cc\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techfun.cc\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techfun.cc\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/techfun.cc\/wp-json\/wp\/v2\/comments?post=6866"}],"version-history":[{"count":1,"href":"https:\/\/techfun.cc\/wp-json\/wp\/v2\/posts\/6866\/revisions"}],"predecessor-version":[{"id":6867,"href":"https:\/\/techfun.cc\/wp-json\/wp\/v2\/posts\/6866\/revisions\/6867"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/techfun.cc\/wp-json\/wp\/v2\/media\/6855"}],"wp:attachment":[{"href":"https:\/\/techfun.cc\/wp-json\/wp\/v2\/media?parent=6866"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techfun.cc\/wp-json\/wp\/v2\/categories?post=6866"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}