{"id":7579,"date":"2026-11-10T08:51:45","date_gmt":"2026-11-09T23:51:45","guid":{"rendered":"https:\/\/techfun.cc\/?p=7579"},"modified":"2026-11-10T08:51:45","modified_gmt":"2026-11-09T23:51:45","slug":"genai-tool-use-introduction","status":"publish","type":"post","link":"https:\/\/techfun.cc\/generative-ai\/genai-tool-use-introduction.html","title":{"rendered":"Tool Use\u3068\u306f\uff1f\u30e2\u30c7\u30eb\u3068\u30a2\u30d7\u30ea\u306e\u5f79\u5272\u5206\u62c5\u304b\u3089\u5b66\u3076\u751f\u6210AI\u306e\u30c4\u30fc\u30eb\u9023\u643a"},"content":{"rendered":"<h3 id=\"section-1\" class=\"Heading Title Title--m\">\u306f\u3058\u3081\u306b<\/h3>\n<p>\u300c\u6ce8\u6587A1001\u306f\u4eca\u3069\u3053\u306b\u3042\u308a\u307e\u3059\u304b\uff1f\u300d\u3068\u805e\u304b\u308c\u3066\u3082\u3001LLM\u306f\u305d\u306e\u6ce8\u6587\u306e\u72b6\u6cc1\u3092\u77e5\u308a\u307e\u305b\u3093\u3002\u6ce8\u6587\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0\u3067\u4f1d\u7968\u756a\u53f7\u3092\u8abf\u3079\u3001\u914d\u9001\u4f1a\u793e\u306e\u30b7\u30b9\u30c6\u30e0\u3067\u914d\u9001\u72b6\u6cc1\u3092\u78ba\u8a8d\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n\u5916\u90e8\u306e\u95a2\u6570\u3092\u4f7f\u3063\u3066\u60c5\u5831\u3092\u53d6\u5f97\u3057\u305f\u308a\u3001\u696d\u52d9\u30b7\u30b9\u30c6\u30e0\u3092\u64cd\u4f5c\u3057\u305f\u308a\u3059\u308b\u4ed5\u7d44\u307f\u304c\u3001Tool Use\u3067\u3059\u3002\u30e2\u30c7\u30eb\u304c\u4f7f\u3046\u95a2\u6570\u3068\u5f15\u6570\u3092\u9078\u3073\u3001\u30a2\u30d7\u30ea\u304c\u5b9f\u884c\u7d50\u679c\u3092\u8fd4\u3059\u3053\u3068\u3067\u3001\u30e2\u30c7\u30eb\u306f\u51e6\u7406\u306e\u7d50\u679c\u3092\u3082\u3068\u306b\u56de\u7b54\u3067\u304d\u307e\u3059\u3002<br \/>\n\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001Amazon Bedrock\u3068Python\u3092\u4f7f\u3044\u3001\u6ce8\u6587\u7167\u4f1a\u306e\u7d50\u679c\u304b\u3089\u914d\u9001\u8ffd\u8de1\u3078\u9032\u30802\u6bb5\u968e\u306e\u51e6\u7406\u3092\u5b9f\u88c5\u3057\u307e\u3059\u3002LLM\u306eAPI\u3092\u547c\u3073\u51fa\u3057\u305f\u3053\u3068\u304c\u3042\u308b\u65b9\u3092\u5bfe\u8c61\u306b\u3001\u30e2\u30c7\u30eb\u3068\u30a2\u30d7\u30ea\u306e\u9593\u3067\u4f55\u3092\u53d7\u3051\u6e21\u3059\u306e\u304b\u3092\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<h3 id=\"section-2\" class=\"Heading Title Title--m\">Tool Use\u3068\u306f<\/h3>\n<p>Tool Use\u306f\u3001LLM\u304c\u5916\u90e8\u306e\u30c4\u30fc\u30eb\u3092\u5229\u7528\u3057\u3066\u3001\u60c5\u5831\u306e\u53d6\u5f97\u3084\u51e6\u7406\u3092\u884c\u3046\u305f\u3081\u306e\u4ed5\u7d44\u307f\u3067\u3059\u3002\u30c4\u30fc\u30eb\u306b\u306f\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u691c\u7d22\u3001\u8a08\u7b97\u3001\u5916\u90e8API\u306e\u547c\u3073\u51fa\u3057\u306a\u3069\u3092\u7528\u610f\u3067\u304d\u307e\u3059\u3002\u95a2\u6570\u3092\u30c4\u30fc\u30eb\u3068\u3057\u3066\u5b9a\u7fa9\u3057\u3001\u30e2\u30c7\u30eb\u304b\u3089\u547c\u3073\u51fa\u3059\u4ed5\u7d44\u307f\u306fFunction Calling\u3068\u3082\u547c\u3070\u308c\u307e\u3059\u3002<br \/>\n\u305f\u3068\u3048\u3070\u3001\u6ce8\u6587\u72b6\u6cc1\u3078\u306e\u56de\u7b54\u306b\u306f\u3001\u5b66\u7fd2\u6e08\u307f\u306e\u77e5\u8b58\u3060\u3051\u3067\u306f\u8db3\u308a\u307e\u305b\u3093\u3002\u6ce8\u6587\u756a\u53f7\u3092\u53d7\u3051\u53d6\u3063\u3066\u73fe\u5728\u306e\u60c5\u5831\u3092\u8abf\u3079\u308b\u51e6\u7406\u304c\u5fc5\u8981\u3067\u3059\u3002Tool Use\u3092\u4f7f\u3046\u3068\u3001\u81ea\u7136\u8a00\u8a9e\u306e\u4f9d\u983c\u3092\u3001\u30a2\u30d7\u30ea\u304c\u5b9f\u884c\u3067\u304d\u308b\u95a2\u6570\u540d\u3068\u5f15\u6570\u3078\u3064\u306a\u3052\u3089\u308c\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/11\/genai-tool-use-introduction-overview.png\" alt=\"\u6ce8\u6587\u7167\u4f1a\u3068\u914d\u9001\u8ffd\u8de1\u3092\u7d44\u307f\u5408\u308f\u305b\u3066\u56de\u7b54\u3059\u308bTool Use\" class=\"content_img\" \/><\/p>\n<div class=\"Image-caption\">\u6ce8\u6587\u7167\u4f1a\u3068\u914d\u9001\u8ffd\u8de1\u3092\u7d44\u307f\u5408\u308f\u305b\u3066\u56de\u7b54\u3059\u308bTool Use<\/div>\n<h4 id=\"section-2-1\" class=\"Heading Title Title--s\">Tool Use\u306e\u5fdc\u7528<\/h4>\n<p>Tool Use\u306f\u3001\u6700\u65b0\u306e\u60c5\u5831\u3084\u793e\u5185\u30c7\u30fc\u30bf\u3092\u8abf\u3079\u305f\u3044\u3068\u304d\u3001\u6c7a\u307e\u3063\u305f\u8a08\u7b97\u3092\u884c\u3044\u305f\u3044\u3068\u304d\u3001\u696d\u52d9\u30b7\u30b9\u30c6\u30e0\u3078\u64cd\u4f5c\u3092\u4f9d\u983c\u3057\u305f\u3044\u3068\u304d\u306b\u4f7f\u3048\u307e\u3059\u3002\u305f\u3068\u3048\u3070\u3001\u6b21\u306e\u3088\u3046\u306a\u30c4\u30fc\u30eb\u3092\u30a2\u30d7\u30ea\u5074\u3067\u7528\u610f\u3059\u308b\u69cb\u6210\u304c\u8003\u3048\u3089\u308c\u307e\u3059\u3002<\/p>\n<table class=\"Base-table\">\n<tr>\n<th>\u7528\u9014<\/th>\n<th>\u5229\u7528\u8005\u306e\u4f9d\u983c\u4f8b<\/th>\n<th>\u7528\u610f\u3059\u308b\u30c4\u30fc\u30eb\u3068\u51e6\u7406<\/th>\n<\/tr>\n<tr>\n<td>\u6ce8\u6587\u30fb\u5728\u5eab\u306e\u7167\u4f1a<\/td>\n<td>\u300c\u3053\u306e\u5546\u54c1\u306f\u5728\u5eab\u304c\u3042\u308a\u307e\u3059\u304b\uff1f\u300d<\/td>\n<td>\u5546\u54c1\u691c\u7d22\u3068\u5728\u5eab\u7167\u4f1a\u3067\u3001\u5bfe\u8c61\u5546\u54c1\u3068\u73fe\u5728\u306e\u5728\u5eab\u6570\u3092\u53d6\u5f97\u3059\u308b<\/td>\n<\/tr>\n<tr>\n<td>\u793e\u5185\u6587\u66f8\u306e\u691c\u7d22\u30fb\u30a8\u30fc\u30b8\u30a7\u30f3\u30c6\u30a3\u30c3\u30afRAG<\/td>\n<td>\u300c\u51fa\u5f35\u306e\u5bbf\u6cca\u8cbb\u306e\u4e0a\u9650\u3068\u3001\u8d85\u904e\u3057\u305f\u5834\u5408\u306e\u7533\u8acb\u65b9\u6cd5\u3092\u6559\u3048\u3066\u300d<\/td>\n<td>\u898f\u7a0b\u3092\u691c\u7d22\u3057\u3001\u53d6\u5f97\u3057\u305f\u60c5\u5831\u306b\u5fdc\u3058\u3066\u7533\u8acb\u624b\u9806\u3092\u8ffd\u52a0\u691c\u7d22\u3059\u308b<\/td>\n<\/tr>\n<tr>\n<td>\u96c6\u8a08\u30fb\u8a08\u7b97<\/td>\n<td>\u300c\u5148\u6708\u306e\u58f2\u4e0a\u3092\u90e8\u9580\u5225\u306b\u307e\u3068\u3081\u3066\u300d<\/td>\n<td>\u5bfe\u8c61\u671f\u9593\u306e\u58f2\u4e0a\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3057\u3001\u96c6\u8a08\u95a2\u6570\u3067\u90e8\u9580\u5225\u306e\u91d1\u984d\u3092\u6c42\u3081\u308b<\/td>\n<\/tr>\n<tr>\n<td>\u4e88\u5b9a\u306e\u8abf\u6574\u30fb\u767b\u9332<\/td>\n<td>\u300c\u6765\u9031\u3001\u53c2\u52a0\u8005\u5168\u54e1\u304c\u7a7a\u3044\u3066\u3044\u308b\u6642\u9593\u306b\u4f1a\u8b70\u3092\u5165\u308c\u305f\u3044\u300d<\/td>\n<td>\u7a7a\u304d\u6642\u9593\u3092\u691c\u7d22\u3057\u3001\u9078\u3093\u3060\u65e5\u6642\u3067\u4e88\u5b9a\u3092\u767b\u9332\u3059\u308b<\/td>\n<\/tr>\n<tr>\n<td>\u554f\u3044\u5408\u308f\u305b\u306e\u8d77\u7968<\/td>\n<td>\u300c\u3053\u306e\u4e0d\u5177\u5408\u3092\u62c5\u5f53\u90e8\u7f72\u306b\u4f9d\u983c\u3057\u3066\u300d<\/td>\n<td>\u5fc5\u8981\u306a\u60c5\u5831\u3092\u305d\u308d\u3048\u3001\u30c1\u30b1\u30c3\u30c8\u4f5c\u6210API\u3067\u4f9d\u983c\u3092\u767b\u9332\u3059\u308b<\/td>\n<\/tr>\n<\/table>\n<p>\u793e\u5185\u6587\u66f8\u306e\u691c\u7d22\u3067\u306f\u3001\u30e2\u30c7\u30eb\u304c\u691c\u7d22\u8a9e\u3092\u9078\u3073\u3001\u7d50\u679c\u306b\u5fdc\u3058\u3066\u8ffd\u52a0\u306e\u691c\u7d22\u3092\u884c\u3046\u69cb\u6210\u306b\u3067\u304d\u307e\u3059\u3002\u5bbf\u6cca\u8cbb\u306e\u4f8b\u306a\u3089\u3001\u898f\u7a0b\u304b\u3089\u4e0a\u9650\u984d\u3092\u8abf\u3079\u3001\u300c\u8d85\u904e\u6642\u306f\u4f8b\u5916\u7533\u8acb\u304c\u5fc5\u8981\u300d\u3068\u5206\u304b\u3063\u305f\u3089\u3001\u305d\u306e\u624b\u9806\u3092\u691c\u7d22\u3057\u3066\u56de\u7b54\u3092\u307e\u3068\u3081\u307e\u3059\u3002\u3053\u308c\u306f\u30a8\u30fc\u30b8\u30a7\u30f3\u30c6\u30a3\u30c3\u30afRAG\uff08Agentic RAG\uff09\u306e\u5b9f\u88c5\u65b9\u6cd5\u306e\u4e00\u3064\u3067\u3001<a href=\"https:\/\/docs.langchain.com\/oss\/python\/langchain\/retrieval\" class=\"Ext\">LangChain\u306e\u89e3\u8aac<\/a>\u3067\u3082\u3001\u691c\u7d22\u30c4\u30fc\u30eb\u3092\u4f7f\u3046\u304b\u3069\u3046\u304b\u3092\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u304c\u5224\u65ad\u3059\u308b\u69cb\u6210\u304c\u7d39\u4ecb\u3055\u308c\u3066\u3044\u307e\u3059\u3002<br \/>\n\u4ee5\u524d\u306e\u8a18\u4e8b\u3067\u7d39\u4ecb\u3057\u305f\u300c\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u691c\u7d22\u300d\u3082\u3001\u3053\u306e\u691c\u7d22\u65b9\u91dd\u3092\u5224\u65ad\u3059\u308b\u90e8\u5206\u306b\u5f53\u305f\u308a\u307e\u3059\u3002\u30c6\u30ad\u30b9\u30c8\u691c\u7d22\u3084\u30d9\u30af\u30c8\u30eb\u691c\u7d22\u3092\u30c4\u30fc\u30eb\u3068\u3057\u3066\u63d0\u4f9b\u3057\u3001\u305d\u306e\u547c\u3073\u51fa\u3057\u3068\u7d50\u679c\u306e\u53d7\u3051\u6e21\u3057\u3092Tool Use\u3067\u3064\u306a\u3050\u3001\u3068\u3044\u3046\u95a2\u4fc2\u3067\u3059\u3002<\/p>\n<a class=\"Internal-post\" href=\"https:\/\/techfun.cc\/generative-ai\/rag-search-design-methods.html\"><div class=\"Internal-post__thumb\" style=\"background: url(\/wp-content\/uploads\/2026\/06\/rag-search-design-methods.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\">RAG\u306e\u691c\u7d22\u8a2d\u8a08\uff1a\u30c6\u30ad\u30b9\u30c8\u691c\u7d22\u30fb\u30d9\u30af\u30c8\u30eb\u691c\u7d22\u30fb\u30cf\u30a4\u30d6\u30ea\u30c3\u30c9\u691c\u7d22\u30fb\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u691c\u7d22\u306e\u9055\u3044<\/div><\/div><\/a>\n<p>\u96c6\u8a08\u306e\u4f8b\u306a\u3089\u3001\u30e2\u30c7\u30eb\u306f\u300c\u5148\u6708\u300d\u300c\u90e8\u9580\u5225\u300d\u3068\u3044\u3046\u4f9d\u983c\u3092\u671f\u9593\u3084\u96c6\u8a08\u6761\u4ef6\u3078\u5909\u63db\u3057\u3001\u6570\u5024\u306e\u8a08\u7b97\u306f\u95a2\u6570\u306b\u4efb\u305b\u307e\u3059\u3002\u4e88\u5b9a\u306e\u767b\u9332\u3084\u30c1\u30b1\u30c3\u30c8\u4f5c\u6210\u306e\u3088\u3046\u306b\u3001\u5916\u90e8\u306e\u72b6\u614b\u3092\u5909\u66f4\u3059\u308b\u4f7f\u3044\u65b9\u3082\u3042\u308a\u307e\u3059\u3002\u305d\u306e\u5834\u5408\u306f\u3001\u5b9f\u884c\u524d\u306b\u5185\u5bb9\u3092\u5229\u7528\u8005\u3078\u63d0\u793a\u3057\u3066\u78ba\u8a8d\u3092\u5f97\u308b\u306a\u3069\u3001\u64cd\u4f5c\u306e\u5f71\u97ff\u306b\u5fdc\u3058\u305f\u624b\u9806\u3092\u30a2\u30d7\u30ea\u5074\u3067\u8a2d\u3051\u307e\u3059\u3002<br \/>\n\u3069\u306e\u6a5f\u80fd\u3082\u3001\u5229\u7528\u3057\u305f\u3044\u30b7\u30b9\u30c6\u30e0\u3078\u63a5\u7d9a\u3059\u308b\u95a2\u6570\u3084API\u3092\u7528\u610f\u3059\u308b\u3053\u3068\u304c\u524d\u63d0\u3067\u3059\u3002\u4eca\u56de\u306e\u30c7\u30e2\u3067\u306f\u60c5\u5831\u306e\u7167\u4f1a\u3092\u984c\u6750\u306b\u3001\u6ce8\u6587\u3068\u914d\u9001\u3068\u3044\u30462\u3064\u306e\u60c5\u5831\u6e90\u3092\u3064\u306a\u3044\u3067\u56de\u7b54\u3059\u308b\u6d41\u308c\u3092\u6271\u3044\u307e\u3059\u3002<\/p>\n<h4 id=\"section-2-2\" class=\"Heading Title Title--s\">\u30e2\u30c7\u30eb\u306b\u306f\u300c\u4f7f\u3048\u308b\u51e6\u7406\u300d\u3092\u5b9a\u7fa9\u3057\u3066\u6e21\u3059<\/h4>\n<p>\u30a2\u30d7\u30ea\u306f\u8cea\u554f\u3068\u4e00\u7dd2\u306b\u3001\u5229\u7528\u3067\u304d\u308b\u30c4\u30fc\u30eb\u306e\u5b9a\u7fa9\u3092\u30e2\u30c7\u30eb\u3078\u6e21\u3057\u307e\u3059\u3002\u6ce8\u6587\u7167\u4f1a\u3067\u3042\u308c\u3070\u3001\u6b21\u306e\u60c5\u5831\u3067\u3059\u3002<\/p>\n<table class=\"Base-table\">\n<tr>\n<th>\u5b9a\u7fa9\u3059\u308b\u9805\u76ee<\/th>\n<th>\u4f8b<\/th>\n<th>\u30e2\u30c7\u30eb\u306b\u4f1d\u3048\u308b\u5185\u5bb9<\/th>\n<\/tr>\n<tr>\n<td>\u540d\u524d<\/td>\n<td>get_order<\/td>\n<td>\u3069\u306e\u51e6\u7406\u3092\u8981\u6c42\u3059\u308b\u304b\u3092\u8b58\u5225\u3059\u308b\u540d\u524d<\/td>\n<\/tr>\n<tr>\n<td>\u8aac\u660e<\/td>\n<td>\u6ce8\u6587\u756a\u53f7\u304b\u3089\u5546\u54c1\u30fb\u767a\u9001\u72b6\u6cc1\u30fb\u914d\u9001\u4f1a\u793e\u30fb\u914d\u9001\u4f1d\u7968\u756a\u53f7\u3092\u53d6\u5f97\u3059\u308b<\/td>\n<td>\u4f55\u304c\u3067\u304d\u3001\u3069\u306e\u3088\u3046\u306a\u8cea\u554f\u306b\u4f7f\u3046\u51e6\u7406\u304b<\/td>\n<\/tr>\n<tr>\n<td>\u5f15\u6570\u306e\u5f62\u5f0f<\/td>\n<td>order_id\u3068\u3044\u3046\u6587\u5b57\u5217\u304c\u5fc5\u9808<\/td>\n<td>\u5b9f\u884c\u3059\u308b\u305f\u3081\u306b\u5fc5\u8981\u306a\u5165\u529b\u3068\u3001\u305d\u306e\u578b<\/td>\n<\/tr>\n<\/table>\n<p>\u30e2\u30c7\u30eb\u3078\u6e21\u3059\u306e\u306f\u3001\u3053\u306e\u30c4\u30fc\u30eb\u5b9a\u7fa9\u3067\u3059\u3002\u95a2\u6570\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3084\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u5168\u5185\u5bb9\u3092\u6e21\u3059\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u30e2\u30c7\u30eb\u306f\u8aac\u660e\u3092\u8aad\u307f\u3001\u8cea\u554f\u306b\u7b54\u3048\u308b\u305f\u3081\u306b\u3069\u306e\u30c4\u30fc\u30eb\u304c\u5fc5\u8981\u304b\u3092\u5224\u65ad\u3057\u307e\u3059\u3002<br \/>\n\u300c\u6ce8\u6587A1001\u306e\u767a\u9001\u72b6\u6cc1\u3092\u6559\u3048\u3066\u300d\u3068\u3044\u3046\u4f9d\u983c\u306a\u3089\u3001get_order\u3068order_id=A1001\u3092\u7d44\u307f\u5408\u308f\u305b\u305f\u547c\u3073\u51fa\u3057\u8981\u6c42\u3092\u8fd4\u3059\u3001\u3068\u3044\u3046\u4f7f\u3044\u65b9\u306b\u306a\u308a\u307e\u3059\u3002\u3053\u308c\u306f\u901a\u5e38\u306e\u8fd4\u7b54\u6587\u3068\u306f\u5225\u306e\u3001API\u3067\u5b9a\u3081\u3089\u308c\u305f\u69cb\u9020\u3092\u6301\u3064\u30c7\u30fc\u30bf\u3067\u3059\u3002<\/p>\n<h4 id=\"section-2-3\" class=\"Heading Title Title--s\">\u30c4\u30fc\u30eb\u306e\u5b9f\u884c\u3092\u62c5\u5f53\u3059\u308b\u306e\u306f\u3001\u30a2\u30d7\u30ea\u304bBedrock\u304b<\/h4>\n<p>\u4eca\u56de\u306e\u69cb\u6210\u3067\u306f\u3001Python\u30a2\u30d7\u30ea\u304b\u3089Bedrock\u306eAPI\u3078\u8cea\u554f\u3092\u9001\u308a\u3001Bedrock\u4e0a\u306e\u30e2\u30c7\u30eb\u304c\u547c\u3073\u51fa\u3057\u8981\u6c42\u3092\u8fd4\u3057\u307e\u3059\u3002\u3053\u306e\u95a2\u4fc2\u3067\u3001API\u3092\u547c\u3076Python\u30a2\u30d7\u30ea\u3092\u300c\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u5074\u300d\u3001API\u3092\u63d0\u4f9b\u3059\u308bBedrock\u3092\u300c\u30b5\u30fc\u30d0\u30fc\u5074\u300d\u3068\u547c\u3093\u3067\u3044\u307e\u3059\u3002Python\u30a2\u30d7\u30ea\u3092\u624b\u5143\u306ePC\u3067\u52d5\u304b\u3057\u3066\u3082\u3001\u81ea\u793e\u306e\u30b5\u30fc\u30d0\u30fc\u3067\u52d5\u304b\u3057\u3066\u3082\u3001Bedrock\u306b\u5bfe\u3057\u3066\u306f\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u5074\u3067\u3059\u3002<br \/>\n\u30c4\u30fc\u30eb\u3092\u547c\u3073\u51fa\u3057\u3066\u7d50\u679c\u3092\u30e2\u30c7\u30eb\u3078\u623b\u3059\u51e6\u7406\u3092\u3001\u3069\u3061\u3089\u304c\u62c5\u5f53\u3059\u308b\u304b\u3067\u65b9\u5f0f\u304c\u5206\u304b\u308c\u307e\u3059\u3002<\/p>\n<table class=\"Base-table\">\n<tr>\n<th>\u65b9\u5f0f<\/th>\n<th>\u30c4\u30fc\u30eb\u5b9f\u884c\u307e\u3067\u306e\u6d41\u308c<\/th>\n<\/tr>\n<tr>\n<td>\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u5074Tool Use\uff08\u4eca\u56de\uff09<\/td>\n<td>Bedrock\u304c\u547c\u3073\u51fa\u3057\u8981\u6c42\u3092\u8fd4\u3059 \u2192 Python\u30a2\u30d7\u30ea\u304c\u95a2\u6570\u3092\u5b9f\u884c\u3059\u308b \u2192 \u30a2\u30d7\u30ea\u304c\u7d50\u679c\u3092Bedrock\u3078\u9001\u308b<\/td>\n<\/tr>\n<tr>\n<td>\u30b5\u30fc\u30d0\u30fc\u5074Tool Use<\/td>\n<td>Bedrock\u304c\u30e2\u30c7\u30eb\u306e\u8981\u6c42\u3092\u53d7\u3051\u3001\u767b\u9332\u3055\u308c\u305f\u30c4\u30fc\u30eb\u3092\u547c\u3073\u51fa\u3057\u3066\u3001\u305d\u306e\u7d50\u679c\u3092\u30e2\u30c7\u30eb\u3078\u6e21\u3059<\/td>\n<\/tr>\n<\/table>\n<p>\u305f\u3068\u3048\u3070\u4eca\u56de\u306e\u6ce8\u6587\u7167\u4f1a\u3067\u306f\u3001Python\u30a2\u30d7\u30ea\u304cget_order\u3068\u3044\u3046\u8981\u6c42\u3092\u53d7\u3051\u53d6\u308a\u3001\u30a2\u30d7\u30ea\u3068\u540c\u3058\u74b0\u5883\u306b\u3042\u308b\u6ce8\u6587\u7167\u4f1a\u306e\u95a2\u6570\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u5b9f\u969b\u306b\u3069\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3078\u63a5\u7d9a\u3059\u308b\u304b\u3001\u3069\u306eAPI\u3092\u547c\u3076\u304b\u306f\u3001\u305d\u306e\u95a2\u6570\u306e\u5b9f\u88c5\u3067\u6c7a\u3081\u307e\u3059\u3002\u3053\u306e\u51e6\u7406\u3092<a href=\"https:\/\/docs.aws.amazon.com\/bedrock\/latest\/userguide\/tool-use-client-side.html\" class=\"Ext\">Converse API\u306e\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u5074Tool Use<\/a>\u3068\u3057\u3066\u66f8\u3044\u3066\u3044\u304d\u307e\u3059\u3002<br \/>\n\u4e00\u65b9\u3001<a href=\"https:\/\/docs.aws.amazon.com\/bedrock\/latest\/userguide\/tool-use-server-side.html\" class=\"Ext\">Bedrock\u306e\u30b5\u30fc\u30d0\u30fc\u5074Tool Use<\/a>\u3067\u306f\u3001\u305f\u3068\u3048\u3070AWS Lambda\u306b\u7528\u610f\u3057\u305f\u95a2\u6570\u3092\u767b\u9332\u3057\u3001Bedrock\u306b\u305d\u306e\u547c\u3073\u51fa\u3057\u3092\u4efb\u305b\u307e\u3059\u3002\u3053\u306e\u65b9\u5f0f\u3067\u306f\u3001Bedrock\u304b\u3089\u547c\u3079\u308b\u5b9f\u884c\u5148\u3092\u3042\u3089\u304b\u3058\u3081\u7528\u610f\u3057\u307e\u3059\u3002<br \/>\n\u3069\u3061\u3089\u3082\u3001\u30e2\u30c7\u30eb\u304c\u4f7f\u3046\u30c4\u30fc\u30eb\u3068\u5f15\u6570\u3092\u9078\u3073\u3001\u5b9f\u884c\u3092\u62c5\u5f53\u3059\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u51e6\u7406\u3059\u308b\u70b9\u306f\u5171\u901a\u3067\u3059\u3002\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3078\u306e\u63a5\u7d9a\u8a2d\u5b9a\u3084\u30a2\u30af\u30bb\u30b9\u6a29\u9650\u306f\u3001\u30c4\u30fc\u30eb\u5b9a\u7fa9\u3068\u306f\u5225\u306b\u5b9f\u884c\u5074\u3067\u7528\u610f\u3057\u307e\u3059\u3002<\/p>\n<h4 id=\"section-2-4\" class=\"Heading Title Title--s\">\u5b9f\u884c\u7d50\u679c\u3092\u8fd4\u3059\u3068\u3001\u30e2\u30c7\u30eb\u304c\u6b21\u306e\u51e6\u7406\u3092\u9078\u3076<\/h4>\n<p>\u95a2\u6570\u304c\u8fd4\u3057\u305f\u6ce8\u6587\u60c5\u5831\u306f\u3001\u30a2\u30d7\u30ea\u304b\u3089\u30e2\u30c7\u30eb\u3078\u6e21\u3057\u307e\u3059\u3002\u30e2\u30c7\u30eb\u306f\u305d\u306e\u7d50\u679c\u3092\u4f1a\u8a71\u306e\u7d9a\u304d\u3068\u3057\u3066\u53d7\u3051\u53d6\u308a\u3001\u30e6\u30fc\u30b6\u30fc\u5411\u3051\u306e\u56de\u7b54\u3092\u4f5c\u308a\u307e\u3059\u3002\u95a2\u6570\u306e\u623b\u308a\u5024\u304cJSON\u3067\u3082\u3001\u30e6\u30fc\u30b6\u30fc\u306b\u306f\u81ea\u7136\u306a\u6587\u7ae0\u3067\u8aac\u660e\u3067\u304d\u307e\u3059\u3002<br \/>\n1\u56de\u306e\u30c4\u30fc\u30eb\u5b9f\u884c\u3067\u60c5\u5831\u304c\u305d\u308d\u308f\u306a\u3044\u5834\u5408\u306f\u3001\u30e2\u30c7\u30eb\u304c\u5225\u306e\u30c4\u30fc\u30eb\u3092\u8981\u6c42\u3057\u307e\u3059\u3002\u6ce8\u6587\u7167\u4f1a\u3067\u5f97\u305f\u914d\u9001\u4f1d\u7968\u756a\u53f7\u3092\u4f7f\u3044\u3001\u914d\u9001\u8ffd\u8de1\u3078\u9032\u3080\u306e\u304c\u4eca\u56de\u306e\u4f8b\u3067\u3059\u3002\u30e2\u30c7\u30eb\u304c\u5fc5\u8981\u306a\u30c4\u30fc\u30eb\u3092\u8981\u6c42\u3057\u3001\u30a2\u30d7\u30ea\u304c\u7d50\u679c\u3092\u8fd4\u3059\u5f80\u5fa9\u3092\u3001\u56de\u7b54\u306b\u5fc5\u8981\u306a\u60c5\u5831\u304c\u305d\u308d\u3046\u307e\u3067\u7e70\u308a\u8fd4\u3057\u307e\u3059\u3002<br \/>\n\u3059\u3079\u3066\u306e\u8cea\u554f\u3067\u30c4\u30fc\u30eb\u3092\u4f7f\u3046\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u300c\u767a\u9001\u6e08\u307f\u3068\u306f\u3069\u3046\u3044\u3046\u610f\u5473\u304b\u300d\u3068\u3044\u3046\u4e00\u822c\u7684\u306a\u8cea\u554f\u306a\u3089\u3001\u305d\u306e\u307e\u307e\u56de\u7b54\u3067\u304d\u307e\u3059\u3002\u6ce8\u6587\u756a\u53f7\u304c\u306a\u3051\u308c\u3070\u3001\u5229\u7528\u8005\u306b\u805e\u304d\u8fd4\u3059\u9078\u629e\u3082\u3042\u308a\u307e\u3059\u3002\u3069\u306e\u51e6\u7406\u304c\u5fc5\u8981\u304b\u3092\u4f1a\u8a71\u3068\u53d6\u5f97\u3057\u305f\u60c5\u5831\u306b\u5fdc\u3058\u3066\u9078\u3079\u308b\u70b9\u304c\u3001Tool Use\u306e\u7279\u5fb4\u3067\u3059\u3002<\/p>\n<h3 id=\"section-3\" class=\"Heading Title Title--m\">Structured Outputs\u30fbMCP\u3068\u306f\u5f79\u5272\u304c\u7570\u306a\u308b<\/h3>\n<p>Tool Use\u306f\u3001\u69cb\u9020\u5316\u51fa\u529b\u3084MCP\u3068\u7d44\u307f\u5408\u308f\u305b\u3066\u4f7f\u3048\u307e\u3059\u3002\u6ce8\u6587\u7167\u4f1a\u3068\u914d\u9001\u8ffd\u8de1\u3092\u4f8b\u306b\u3001\u5f79\u5272\u3092\u6574\u7406\u3057\u307e\u3059\u3002<\/p>\n<table class=\"Base-table\">\n<tr>\n<th>\u6280\u8853<\/th>\n<th>\u4e3b\u306a\u5f79\u5272<\/th>\n<th>\u4eca\u56de\u306e\u30c7\u30e2\u3068\u306e\u95a2\u4fc2<\/th>\n<\/tr>\n<tr>\n<td>Tool Use<\/td>\n<td>\u30c4\u30fc\u30eb\u306e\u5229\u7528\u3092\u8981\u6c42\u3057\u3001\u305d\u306e\u7d50\u679c\u3092\u4f7f\u3046<\/td>\n<td>\u6ce8\u6587\u7167\u4f1a\u3068\u914d\u9001\u8ffd\u8de1\u3092\u3064\u306a\u3050<\/td>\n<\/tr>\n<tr>\n<td>Structured Outputs<\/td>\n<td>\u30e2\u30c7\u30eb\u306e\u51fa\u529b\u3092\u6307\u5b9a\u3057\u305f\u69cb\u9020\u306b\u5408\u308f\u305b\u308b<\/td>\n<td>\u56de\u7b54\u306eJSON\u5316\u3084\u3001\u5bfe\u5fdc\u3059\u308b\u6a5f\u80fd\u3067\u30c4\u30fc\u30eb\u5f15\u6570\u306e\u5f62\u5f0f\u3092\u5236\u7d04\u3059\u308b\u5834\u5408\u306b\u4f7f\u3046<\/td>\n<\/tr>\n<tr>\n<td>MCP<\/td>\n<td>AI\u30a2\u30d7\u30ea\u3068\u30c4\u30fc\u30eb\u30fb\u30c7\u30fc\u30bf\u306e\u9593\u306e\u901a\u4fe1\u65b9\u6cd5\u3092\u5171\u901a\u5316\u3059\u308b<\/td>\n<td>\u6ce8\u6587\u7167\u4f1a\u306a\u3069\u3092MCP\u30b5\u30fc\u30d0\u30fc\u7d4c\u7531\u3067\u63d0\u4f9b\u3059\u308b\u5834\u5408\u306b\u4f7f\u3046<\/td>\n<\/tr>\n<\/table>\n<p>\u30c4\u30fc\u30eb\u306e\u5f15\u6570\u3092\u5b9a\u7fa9\u3059\u308b\u3053\u3068\u3068\u3001\u51fa\u529b\u304c\u305d\u306e\u5f62\u5f0f\u306b\u5f93\u3046\u3088\u3046\u53b3\u5bc6\u306b\u5236\u7d04\u3059\u308b\u3053\u3068\u306f\u5206\u3051\u3066\u8003\u3048\u307e\u3059\u3002<a href=\"https:\/\/docs.aws.amazon.com\/bedrock\/latest\/userguide\/structured-output.html\" class=\"Ext\">Bedrock\u306e\u69cb\u9020\u5316\u51fa\u529b<\/a>\u306f\u3001\u5bfe\u5fdc\u30e2\u30c7\u30eb\u3084\u6a5f\u80fd\u3092\u78ba\u8a8d\u3057\u305f\u3046\u3048\u3067\u4f7f\u3044\u307e\u3059\u3002<\/p>\n<a class=\"Internal-post\" href=\"https:\/\/techfun.cc\/generative-ai\/amazon-bedrock-structured-outputs-guide.html\"><div class=\"Internal-post__thumb\" style=\"background: url(\/wp-content\/uploads\/2026\/08\/amazon-bedrock-structured-outputs-guide.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\">Amazon Bedrock Structured Outputs\u5b9f\u88c5\u30ac\u30a4\u30c9\u2015JSON\u51fa\u529b\u306e\u5909\u9077\u3068\u30d9\u2026<\/div><\/div><\/a>\n<p>\u307e\u305f\u3001\u4eca\u56de\u306ePython\u30a2\u30d7\u30ea\u306f\u30ed\u30fc\u30ab\u30eb\u306e\u95a2\u6570\u3092\u76f4\u63a5\u5b9f\u884c\u3057\u3066\u3044\u308b\u305f\u3081\u3001MCP\u30b5\u30fc\u30d0\u30fc\u306f\u4e0d\u8981\u3067\u3059\u3002\u30c4\u30fc\u30eb\u3092\u5225\u306e\u30a2\u30d7\u30ea\u304b\u3089\u3082\u5171\u901a\u306e\u65b9\u6cd5\u3067\u5229\u7528\u3057\u305f\u3044\u5834\u5408\u306f\u3001<a href=\"https:\/\/modelcontextprotocol.io\/docs\/learn\/architecture\" class=\"Ext\">MCP\u306e\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30fb\u30b5\u30fc\u30d0\u30fc\u69cb\u6210<\/a>\u304c\u63a5\u7d9a\u65b9\u6cd5\u306e\u9078\u629e\u80a2\u306b\u306a\u308a\u307e\u3059\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-4\" class=\"Heading Title Title--m\">\u30c7\u30e2\uff1a\u6ce8\u6587\u756a\u53f7\u304b\u3089\u914d\u9001\u72b6\u6cc1\u307e\u3067\u8abf\u3079\u308b<\/h3>\n<p>\u5165\u529b\u306f\u3001\u6b21\u306e\u8cea\u554f\u3067\u3059\u3002<\/p>\n<blockquote class=\"Post-blockquote\"><p>\n\u6ce8\u6587A1001\u306f\u4eca\u3069\u3053\u306b\u3042\u308a\u307e\u3059\u304b\uff1f \u914d\u9001\u4e88\u5b9a\u65e5\u3082\u6559\u3048\u3066\u304f\u3060\u3055\u3044\u3002\n<\/p><\/blockquote>\n<p>\u30e6\u30fc\u30b6\u30fc\u304c\u4f1d\u3048\u308b\u306e\u306f\u6ce8\u6587\u756a\u53f7\u3060\u3051\u3067\u3059\u3002\u914d\u9001\u4f1a\u793e\u3068\u914d\u9001\u4f1d\u7968\u756a\u53f7\u306f\u3001\u6ce8\u6587\u3092\u7167\u4f1a\u3057\u3066\u521d\u3081\u3066\u5206\u304b\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<table class=\"Base-table\">\n<tr>\n<th>\u30c4\u30fc\u30eb<\/th>\n<th>\u5f15\u6570<\/th>\n<th>\u8fd4\u3059\u60c5\u5831<\/th>\n<\/tr>\n<tr>\n<td>get_order<\/td>\n<td>order_id\uff1a\u6ce8\u6587\u756a\u53f7<\/td>\n<td>\u5546\u54c1\u3001\u767a\u9001\u72b6\u6cc1\u3001\u914d\u9001\u4f1a\u793e\u3001\u914d\u9001\u4f1d\u7968\u756a\u53f7<\/td>\n<\/tr>\n<tr>\n<td>get_delivery_status<\/td>\n<td>carrier\uff1a\u914d\u9001\u4f1a\u793e\u3001tracking_number\uff1a\u914d\u9001\u4f1d\u7968\u756a\u53f7<\/td>\n<td>\u914d\u9001\u72b6\u6cc1\u3001\u6700\u7d42\u66f4\u65b0\u65e5\u6642\u3001\u914d\u9001\u4e88\u5b9a\u65e5<\/td>\n<\/tr>\n<\/table>\n<p>\u8aac\u660e\u7528\u30c7\u30fc\u30bf\u3067\u306f\u3001A1001\u306b\u914d\u9001\u4f1a\u793edemo-express\u3068\u4f1d\u7968\u756a\u53f7DEMO-001\u3092\u767b\u9332\u3057\u307e\u3059\u3002\u914d\u9001\u30c7\u30fc\u30bf\u306b\u306f\u3001\u305d\u306e\u7d44\u307f\u5408\u308f\u305b\u306b\u5bfe\u3057\u3066\u300c\u914d\u9001\u4e2d\u300d\u3068\u914d\u9001\u4e88\u5b9a\u65e5\u3092\u767b\u9332\u3057\u307e\u3059\u3002\u4f1a\u793e\u540d\u30fb\u756a\u53f7\u30fb\u65e5\u6642\u306f\u3059\u3079\u3066\u67b6\u7a7a\u306e\u56fa\u5b9a\u5024\u3067\u3059\u3002<br \/>\n\u6b63\u5e38\u7cfb\u3067\u60f3\u5b9a\u3059\u308b\u6d41\u308c\u306f\u3001\u6ce8\u6587\u7167\u4f1a\u3001\u914d\u9001\u8ffd\u8de1\u3001\u56de\u7b54\u306e\u9806\u3067\u3059\u3002\u30e2\u30c7\u30eb\u306f\u6ce8\u6587\u7167\u4f1a\u306e\u7d50\u679c\u3092\u53d7\u3051\u53d6\u3063\u3066\u304b\u3089\u3001\u914d\u9001\u8ffd\u8de1\u306e\u5f15\u6570\u3092\u4f5c\u308a\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/11\/genai-tool-use-introduction-sequence.png\" alt=\"Python\u30a2\u30d7\u30ea\u3092\u4ecb\u3057\u3066\u30e2\u30c7\u30eb\u304c\u6ce8\u6587\u7167\u4f1a\u3068\u914d\u9001\u8ffd\u8de1\u306e\u7d50\u679c\u3092\u53d7\u3051\u53d6\u308b\u6d41\u308c\" class=\"content_img\" \/><\/p>\n<div class=\"Image-caption\">Python\u30a2\u30d7\u30ea\u3092\u4ecb\u3057\u3066\u30e2\u30c7\u30eb\u304c\u6ce8\u6587\u7167\u4f1a\u3068\u914d\u9001\u8ffd\u8de1\u306e\u7d50\u679c\u3092\u53d7\u3051\u53d6\u308b\u6d41\u308c<\/div>\n<p>\u3053\u3053\u3067\u306f\u6ce8\u6587\u30b7\u30b9\u30c6\u30e0\u3068\u914d\u9001\u30b7\u30b9\u30c6\u30e0\u3092\u3001\u5225\u3005\u306ePython\u8f9e\u66f8\u3067\u4ee3\u7528\u3057\u307e\u3059\u3002\u5b9f\u969b\u306eEC\u30b5\u30a4\u30c8\u3084\u914d\u9001API\u3078\u306f\u63a5\u7d9a\u3057\u307e\u305b\u3093\u3002\u30c4\u30fc\u30eb\u5b9f\u88c5\u3092DB\u7167\u4f1a\u3084API\u547c\u3073\u51fa\u3057\u306b\u7f6e\u304d\u63db\u3048\u3066\u3082\u3001\u30e2\u30c7\u30eb\u3078\u306e\u8981\u6c42\u30fb\u7d50\u679c\u306e\u53d7\u3051\u6e21\u3057\u306f\u540c\u3058\u8003\u3048\u65b9\u3067\u7d44\u3081\u307e\u3059\u3002<\/p>\n<h4 id=\"section-4-1\" class=\"Heading Title Title--s\">\u5b9f\u884c\u74b0\u5883\u3092\u6e96\u5099\u3059\u308b<\/h4>\n<p>Python 3.11\u4ee5\u4e0a\u3001uv\u3001Bedrock\u3092\u547c\u3073\u51fa\u305b\u308bAWS\u8a8d\u8a3c\u60c5\u5831\u3092\u7528\u610f\u3057\u307e\u3059\u3002\u30e2\u30c7\u30eb\u306b\u306f\u3001\u6771\u4eac\u30ea\u30fc\u30b8\u30e7\u30f3\u306e\u63a8\u8ad6\u30d7\u30ed\u30d5\u30a1\u30a4\u30ebjp.anthropic.claude-haiku-5-5\uff08Claude Haiku 5.5\uff09\u3092\u4f7f\u3044\u3001\u52d5\u4f5c\u3092\u78ba\u8a8d\u3057\u307e\u3057\u305f\u3002\u5225\u306e\u30e2\u30c7\u30eb\u306b\u5909\u3048\u308b\u5834\u5408\u306f\u3001Converse\u306eTool Use\u3068\u3001\u30c4\u30fc\u30eb\u7d50\u679c\u306e\u6210\u529f\u30fb\u5931\u6557\u3092\u4f1d\u3048\u308bstatus\u306b\u5bfe\u5fdc\u3057\u3066\u3044\u308b\u304b\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u5229\u7528\u30ea\u30fc\u30b8\u30e7\u30f3\u306e\u5bfe\u5fdc\u72b6\u6cc1\u306f<a href=\"https:\/\/docs.aws.amazon.com\/bedrock\/latest\/userguide\/model-cards.html\" class=\"Ext\">AWS\u306e\u30e2\u30c7\u30eb\u4e00\u89a7<\/a>\u304b\u3089\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<br \/>\n\u8a8d\u8a3c\u60c5\u5831\u306b\u306f\u3001\u5bfe\u8c61\u30e2\u30c7\u30eb\u3092\u547c\u3073\u51fa\u3059bedrock:InvokeModel\u6a29\u9650\u304c\u5fc5\u8981\u3067\u3059\u3002\u63a8\u8ad6\u30d7\u30ed\u30d5\u30a1\u30a4\u30eb\u3092\u4f7f\u3046\u5834\u5408\u306f\u3001\u305d\u306e\u547c\u3073\u51fa\u3057\u5148\u3082\u542b\u3081\u3066\u6a29\u9650\u3068\u5229\u7528\u6761\u4ef6\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<h4 id=\"section-4-2\" class=\"Heading Title Title--s\">2\u3064\u306e\u30c4\u30fc\u30eb\u3068\u3001\u7d50\u679c\u3092\u8fd4\u3059\u30eb\u30fc\u30d7\u3092\u5b9f\u88c5\u3059\u308b<\/h4>\n<p>\u30c7\u30e2\u306e\u30b3\u30fc\u30c9\u306f\u3001\u6b21\u306e4\u3064\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u5206\u3051\u307e\u3059\u3002\u3059\u3079\u3066\u540c\u3058\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u4fdd\u5b58\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<table class=\"Base-table\">\n<tr>\n<th>\u30d5\u30a1\u30a4\u30eb<\/th>\n<th>\u5f79\u5272<\/th>\n<\/tr>\n<tr>\n<td>tools.py<\/td>\n<td>\u67b6\u7a7a\u306e\u6ce8\u6587\u30fb\u914d\u9001\u30c7\u30fc\u30bf\u3068\u30012\u3064\u306e\u30c4\u30fc\u30eb\u306e\u51e6\u7406\u672c\u4f53<\/td>\n<\/tr>\n<tr>\n<td>tool_config.py<\/td>\n<td>\u30e2\u30c7\u30eb\u306b\u6e21\u3059\u30c4\u30fc\u30eb\u306e\u540d\u524d\u30fb\u8aac\u660e\u30fb\u5165\u529b\u5f62\u5f0f<\/td>\n<\/tr>\n<tr>\n<td>agent.py<\/td>\n<td>\u30e2\u30c7\u30eb\u3092\u547c\u3073\u51fa\u3057\u3001\u30c4\u30fc\u30eb\u8981\u6c42\u306e\u5b9f\u884c\u7d50\u679c\u3092\u4f1a\u8a71\u3078\u8fd4\u3059\u30eb\u30fc\u30d7<\/td>\n<\/tr>\n<tr>\n<td>main.py<\/td>\n<td>\u8a2d\u5b9a\u306e\u8aad\u307f\u8fbc\u307f\u3068\u8cea\u554f\u306e\u53d7\u3051\u4ed8\u3051<\/td>\n<\/tr>\n<\/table>\n<p>\u4ee5\u964d\u306e\u624b\u9806\u3067\u306f\u3001\u3053\u306e\u9806\u306b\u5404\u30d5\u30a1\u30a4\u30eb\u306e\u5185\u5bb9\u3092\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<h5 id=\"section-4-2-1\" class=\"Heading Title Title--xs\">1. \u6ce8\u6587\u7167\u4f1a\u3068\u914d\u9001\u8ffd\u8de1\u306e\u95a2\u6570\u3092\u7528\u610f\u3059\u308b<\/h5>\n<p>tools.py\u306b\u306f\u3001\u67b6\u7a7a\u30c7\u30fc\u30bf\u30682\u3064\u306e\u95a2\u6570\u3092\u66f8\u304d\u307e\u3059\u3002\u672a\u767a\u9001\u306eA1002\u3068\u3001\u914d\u9001\u60c5\u5831\u304c\u898b\u3064\u304b\u3089\u306a\u3044A1003\u3082\u7528\u610f\u3057\u307e\u3059\u3002<\/p>\n<div class=\"Pre-title\">tools.py<\/div>\n<pre class=\"Copy\"><code>\r\n# \u6ce8\u6587\u30fb\u914d\u9001\u4f1a\u793e\u30fb\u4f1d\u7968\u756a\u53f7\u306f\u3059\u3079\u3066\u8aac\u660e\u7528\u306e\u67b6\u7a7a\u30c7\u30fc\u30bf\u3067\u3059\u3002\r\nORDERS = {\r\n    &quot;A1001&quot;: {&quot;\u5546\u54c1&quot;: &quot;\u30ef\u30a4\u30e4\u30ec\u30b9\u30ad\u30fc\u30dc\u30fc\u30c9&quot;, &quot;\u767a\u9001\u72b6\u6cc1&quot;: &quot;\u767a\u9001\u6e08\u307f&quot;,\r\n              &quot;\u914d\u9001\u4f1a\u793e&quot;: &quot;demo-express&quot;, &quot;\u914d\u9001\u4f1d\u7968\u756a\u53f7&quot;: &quot;DEMO-001&quot;},\r\n    &quot;A1002&quot;: {&quot;\u5546\u54c1&quot;: &quot;USB\u30cf\u30d6&quot;, &quot;\u767a\u9001\u72b6\u6cc1&quot;: &quot;\u672a\u767a\u9001&quot;,\r\n              &quot;\u914d\u9001\u4f1a\u793e&quot;: None, &quot;\u914d\u9001\u4f1d\u7968\u756a\u53f7&quot;: None},\r\n    &quot;A1003&quot;: {&quot;\u5546\u54c1&quot;: &quot;\u30e2\u30cb\u30bf\u30fc&quot;, &quot;\u767a\u9001\u72b6\u6cc1&quot;: &quot;\u767a\u9001\u6e08\u307f&quot;,\r\n              &quot;\u914d\u9001\u4f1a\u793e&quot;: &quot;demo-express&quot;, &quot;\u914d\u9001\u4f1d\u7968\u756a\u53f7&quot;: &quot;DEMO-999&quot;},\r\n}\r\nDELIVERIES = {\r\n    (&quot;demo-express&quot;, &quot;DEMO-001&quot;): {\r\n        &quot;\u914d\u9001\u72b6\u6cc1&quot;: &quot;\u914d\u9001\u4e2d&quot;, &quot;\u6700\u7d42\u66f4\u65b0\u65e5\u6642&quot;: &quot;2026-10-28 09:00 JST&quot;,\r\n        &quot;\u914d\u9001\u4e88\u5b9a\u65e5&quot;: &quot;2026-10-29&quot;,\r\n    },\r\n}\r\n\r\n\r\ndef get_order(order_id):\r\n    if order_id not in ORDERS:\r\n        raise ValueError(&quot;\u8a72\u5f53\u3059\u308b\u6ce8\u6587\u304c\u3042\u308a\u307e\u305b\u3093\u3002\u6ce8\u6587\u756a\u53f7\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002&quot;)\r\n    return {&quot;\u6ce8\u6587\u756a\u53f7&quot;: order_id, **ORDERS[order_id]}\r\n\r\n\r\ndef get_delivery_status(carrier, tracking_number):\r\n    delivery = DELIVERIES.get((carrier, tracking_number))\r\n    if delivery is None:\r\n        raise ValueError(&quot;\u914d\u9001\u60c5\u5831\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3002\u73fe\u5728\u5730\u30fb\u5230\u7740\u65e5\u306f\u78ba\u8a8d\u3067\u304d\u307e\u305b\u3093\u3002&quot;)\r\n    return {&quot;\u914d\u9001\u4f1a\u793e&quot;: carrier, &quot;\u914d\u9001\u4f1d\u7968\u756a\u53f7&quot;: tracking_number, **delivery}\r\n\r\n\r\nFUNCTIONS = {&quot;get_order&quot;: get_order, &quot;get_delivery_status&quot;: get_delivery_status}\r\nARGUMENTS = {&quot;get_order&quot;: {&quot;order_id&quot;},\r\n             &quot;get_delivery_status&quot;: {&quot;carrier&quot;, &quot;tracking_number&quot;}}\r\n\r\n\r\ndef execute_tool(name, arguments):\r\n    if name not in FUNCTIONS:\r\n        raise ValueError(&quot;\u767b\u9332\u3055\u308c\u3066\u3044\u306a\u3044\u30c4\u30fc\u30eb\u3067\u3059\u3002&quot;)\r\n    if not isinstance(arguments, dict) or set(arguments) != ARGUMENTS[name]:\r\n        raise ValueError(&quot;\u5f15\u6570\u306e\u9805\u76ee\u304c\u30c4\u30fc\u30eb\u5b9a\u7fa9\u3068\u4e00\u81f4\u3057\u307e\u305b\u3093\u3002&quot;)\r\n    if any(not isinstance(v, str) or not v.strip() for v in arguments.values()):\r\n        raise ValueError(&quot;\u5f15\u6570\u306b\u306f\u7a7a\u3067\u306a\u3044\u6587\u5b57\u5217\u3092\u6307\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002&quot;)\r\n    return FUNCTIONS[name](**arguments)\r\n<\/code><\/pre>\n<p>execute_tool\u306f\u3001\u30e2\u30c7\u30eb\u304c\u8fd4\u3057\u305f\u95a2\u6570\u540d\u3092\u767b\u9332\u6e08\u307f\u306e\u95a2\u6570\u3068\u7167\u5408\u3057\u307e\u3059\u3002\u5f15\u6570\u306b\u3064\u3044\u3066\u3082\u3001\u9805\u76ee\u540d\u3068\u7a7a\u3067\u306a\u3044\u6587\u5b57\u5217\u3067\u3042\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002\u6ce8\u6587\u3084\u914d\u9001\u60c5\u5831\u304c\u5b58\u5728\u3057\u306a\u3044\u5834\u5408\u306f\u3001\u7406\u7531\u3092\u30a8\u30e9\u30fc\u3068\u3057\u3066\u8fd4\u3057\u307e\u3059\u3002<\/p>\n<h5 id=\"section-4-2-2\" class=\"Heading Title Title--xs\">2. \u30e2\u30c7\u30eb\u306b\u6e21\u3059\u30c4\u30fc\u30eb\u306e\u8aac\u660e\u3092\u5b9a\u7fa9\u3059\u308b<\/h5>\n<p>tool_config.py\u306b\u306f\u3001\u30c4\u30fc\u30eb\u306e\u540d\u524d\u30fb\u8aac\u660e\u30fb\u5165\u529b\u5f62\u5f0f\u3092\u66f8\u304d\u307e\u3059\u3002\u95a2\u6570\u672c\u4f53\u3084\u6ce8\u6587\u4e00\u89a7\u306f\u3001\u3053\u306e\u5b9a\u7fa9\u306b\u306f\u542b\u3081\u307e\u305b\u3093\u3002<\/p>\n<div class=\"Pre-title\">tool_config.py<\/div>\n<pre class=\"Copy\"><code>\r\nTOOL_CONFIG = {\r\n    &quot;tools&quot;: [\r\n        {&quot;toolSpec&quot;: {\r\n            &quot;name&quot;: &quot;get_order&quot;,\r\n            &quot;description&quot;: &quot;\u6ce8\u6587\u756a\u53f7\u304b\u3089\u5546\u54c1\u30fb\u767a\u9001\u72b6\u6cc1\u30fb\u914d\u9001\u4f1a\u793e\u30fb\u914d\u9001\u4f1d\u7968\u756a\u53f7\u3092\u53d6\u5f97\u3059\u308b\u3002&quot;,\r\n            &quot;inputSchema&quot;: {&quot;json&quot;: {\r\n                &quot;type&quot;: &quot;object&quot;,\r\n                &quot;properties&quot;: {\r\n                    &quot;order_id&quot;: {&quot;type&quot;: &quot;string&quot;, &quot;description&quot;: &quot;\u5229\u7528\u8005\u304c\u4f1d\u3048\u305f\u6ce8\u6587\u756a\u53f7&quot;},\r\n                },\r\n                &quot;required&quot;: [&quot;order_id&quot;],\r\n                &quot;additionalProperties&quot;: False,\r\n            }},\r\n        }},\r\n        {&quot;toolSpec&quot;: {\r\n            &quot;name&quot;: &quot;get_delivery_status&quot;,\r\n            &quot;description&quot;: &quot;\u914d\u9001\u4f1a\u793e\u3068\u914d\u9001\u4f1d\u7968\u756a\u53f7\u3067\u73fe\u5728\u306e\u914d\u9001\u72b6\u6cc1\u3068\u914d\u9001\u4e88\u5b9a\u65e5\u3092\u53d6\u5f97\u3059\u308b\u3002&quot;,\r\n            &quot;inputSchema&quot;: {&quot;json&quot;: {\r\n                &quot;type&quot;: &quot;object&quot;,\r\n                &quot;properties&quot;: {\r\n                    &quot;carrier&quot;: {&quot;type&quot;: &quot;string&quot;, &quot;description&quot;: &quot;\u6ce8\u6587\u7167\u4f1a\u3067\u53d6\u5f97\u3057\u305f\u914d\u9001\u4f1a\u793e&quot;},\r\n                    &quot;tracking_number&quot;: {\r\n                        &quot;type&quot;: &quot;string&quot;, &quot;description&quot;: &quot;\u6ce8\u6587\u7167\u4f1a\u3067\u53d6\u5f97\u3057\u305f\u914d\u9001\u4f1d\u7968\u756a\u53f7&quot;,\r\n                    },\r\n                },\r\n                &quot;required&quot;: [&quot;carrier&quot;, &quot;tracking_number&quot;],\r\n                &quot;additionalProperties&quot;: False,\r\n            }},\r\n        }},\r\n    ],\r\n    &quot;toolChoice&quot;: {&quot;auto&quot;: {}},\r\n}\r\n<\/code><\/pre>\n<p>\u5165\u529b\u5f62\u5f0f\u306fJSON Schema\u3067\u6307\u5b9a\u3057\u307e\u3059\u3002get_delivery_status\u306e\u5f15\u6570\u306e\u8aac\u660e\u306b\u306f\u3001\u6ce8\u6587\u7167\u4f1a\u3067\u53d6\u5f97\u3057\u305f\u5024\u3092\u4f7f\u3046\u3053\u3068\u3092\u8a18\u8f09\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\ntoolChoice\u306fauto\u306b\u3057\u3001\u30c4\u30fc\u30eb\u304c\u5fc5\u8981\u304b\u3069\u3046\u304b\u3092\u30e2\u30c7\u30eb\u306b\u9078\u3070\u305b\u307e\u3059\u3002\u6ce8\u6587\u756a\u53f7\u304c\u8db3\u308a\u306a\u3051\u308c\u3070\u78ba\u8a8d\u3092\u6c42\u3081\u3001\u4e00\u822c\u7684\u306a\u8cea\u554f\u3067\u3042\u308c\u3070\u30c4\u30fc\u30eb\u3092\u4f7f\u308f\u305a\u7b54\u3048\u308b\u3053\u3068\u3092\u60f3\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h5 id=\"section-4-2-3\" class=\"Heading Title Title--xs\">3. \u547c\u3073\u51fa\u3057\u8981\u6c42\u3092\u51e6\u7406\u3057\u3001\u7d50\u679c\u3092\u4f1a\u8a71\u306b\u8ffd\u52a0\u3059\u308b<\/h5>\n<p>agent.py\u304c\u51e6\u7406\u306e\u4e2d\u5fc3\u3067\u3059\u3002\u30e2\u30c7\u30eb\u304c\u8fd4\u3057\u305f\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u5c65\u6b74\u3078\u8ffd\u52a0\u3057\u3001\u7d42\u4e86\u7406\u7531\u306b\u5fdc\u3058\u3066\u56de\u7b54\u306e\u8868\u793a\u304b\u30c4\u30fc\u30eb\u5b9f\u884c\u3078\u9032\u307f\u307e\u3059\u3002<\/p>\n<div class=\"Pre-title\">agent.py<\/div>\n<pre class=\"Copy\"><code>\r\nimport json\r\n\r\nfrom tool_config import TOOL_CONFIG\r\nfrom tools import execute_tool\r\n\r\nSYSTEM = &quot;&quot;&quot;\u6ce8\u6587\u30fb\u914d\u9001\u306b\u95a2\u3059\u308b\u8cea\u554f\u3078\u65e5\u672c\u8a9e\u3067\u7c21\u6f54\u306b\u7b54\u3048\u3066\u304f\u3060\u3055\u3044\u3002\r\n\u500b\u5225\u306e\u6ce8\u6587\u60c5\u5831\u30fb\u914d\u9001\u60c5\u5831\u306f\u30c4\u30fc\u30eb\u306e\u7d50\u679c\u306b\u57fa\u3065\u3044\u3066\u7b54\u3048\u3066\u304f\u3060\u3055\u3044\u3002\r\n\u756a\u53f7\u3084\u914d\u9001\u4f1a\u793e\u3092\u63a8\u6e2c\u305b\u305a\u3001\u6ce8\u6587\u756a\u53f7\u304c\u4e0d\u8db3\u3057\u3066\u3044\u308c\u3070\u5229\u7528\u8005\u3078\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002\r\n\u672a\u767a\u9001\u3067\u914d\u9001\u4f1d\u7968\u756a\u53f7\u304c\u306a\u3044\u5834\u5408\u306f\u3001\u914d\u9001\u8ffd\u8de1\u305b\u305a\u672a\u767a\u9001\u3068\u4f1d\u3048\u3066\u304f\u3060\u3055\u3044\u3002\r\n\u53d6\u5f97\u3067\u304d\u306a\u3044\u60c5\u5831\u306f\u78ba\u8a8d\u3067\u304d\u306a\u3044\u3068\u4f1d\u3048\u3001\u540c\u3058\u5931\u6557\u3092\u7e70\u308a\u8fd4\u3055\u306a\u3044\u3067\u304f\u3060\u3055\u3044\u3002&quot;&quot;&quot;\r\n\r\n\r\ndef answer(client, model_id, messages):\r\n    tool_count = 0\r\n    for turn in range(1, 6):\r\n        response = client.converse(\r\n            modelId=model_id, messages=messages,\r\n            system=[{&quot;text&quot;: SYSTEM}], toolConfig=TOOL_CONFIG,\r\n            inferenceConfig={&quot;maxTokens&quot;: 2048},\r\n        )\r\n        message = response[&quot;output&quot;][&quot;message&quot;]\r\n        messages.append(message)\r\n        reason = response[&quot;stopReason&quot;]\r\n        print(f&quot;\\n[\u30e2\u30c7\u30eb\u547c\u3073\u51fa\u3057 {turn}] \u7d42\u4e86\u7406\u7531: {reason}&quot;)\r\n        if reason == &quot;end_turn&quot;:\r\n            print(&quot;[\u56de\u7b54]&quot;)\r\n            for block in message[&quot;content&quot;]:\r\n                if &quot;text&quot; in block:\r\n                    print(block[&quot;text&quot;])\r\n            return True\r\n        if reason != &quot;tool_use&quot;:\r\n            print(&quot;[\u4e2d\u65ad] \u901a\u5e38\u306e\u56de\u7b54\u5b8c\u4e86\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u8a2d\u5b9a\u3068\u5fdc\u7b54\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002&quot;)\r\n            return False\r\n        requests = [b[&quot;toolUse&quot;] for b in message[&quot;content&quot;] if &quot;toolUse&quot; in b]\r\n        if not requests or turn == 5 or tool_count + len(requests) &gt; 8:\r\n            print(&quot;[\u4e2d\u65ad] \u30c4\u30fc\u30eb\u8981\u6c42\u304c\u7a7a\u3001\u307e\u305f\u306f\u547c\u3073\u51fa\u3057\u4e0a\u9650\u306b\u9054\u3057\u307e\u3057\u305f\u3002&quot;)\r\n            return False\r\n        results = []\r\n        for request in requests:\r\n            name, arguments = request[&quot;name&quot;], request[&quot;input&quot;]\r\n            tool_count += 1\r\n            print(f&quot;[\u30c4\u30fc\u30eb\u8981\u6c42 {tool_count}] {name}&quot;)\r\n            print(&quot;  \u5f15\u6570:&quot;, json.dumps(arguments, ensure_ascii=False))\r\n            try:\r\n                data = execute_tool(name, arguments)\r\n                status = &quot;success&quot;\r\n            except ValueError as error:\r\n                data, status = {&quot;\u30a8\u30e9\u30fc&quot;: str(error)}, &quot;error&quot;\r\n            print(f&quot;  \u5b9f\u884c\u7d50\u679c: {status}&quot;)\r\n            for key, value in data.items():\r\n                print(f&quot;  {key}: {value if value is not None else &#x27;\u306a\u3057&#x27;}&quot;)\r\n            results.append({&quot;toolResult&quot;: {\r\n                &quot;toolUseId&quot;: request[&quot;toolUseId&quot;],\r\n                &quot;content&quot;: [{&quot;json&quot;: data}], &quot;status&quot;: status,\r\n            }})\r\n        messages.append({&quot;role&quot;: &quot;user&quot;, &quot;content&quot;: results})\r\n<\/code><\/pre>\n<p>\u6ce8\u6587\u7167\u4f1a\u3068\u914d\u9001\u8ffd\u8de1\u306e\u9806\u5e8f\u306f\u3001\u3053\u306e\u30eb\u30fc\u30d7\u306b\u306f\u66f8\u3044\u3066\u3044\u307e\u305b\u3093\u3002\u5404\u56de\u3067\u30e2\u30c7\u30eb\u304c\u8fd4\u3057\u305f\u8981\u6c42\u3092\u51e6\u7406\u3057\u3001\u305d\u306e\u7d50\u679c\u3092\u6e21\u3057\u3066\u6b21\u306e\u5224\u65ad\u3092\u53d7\u3051\u53d6\u308a\u307e\u3059\u3002<br \/>\n<a href=\"https:\/\/docs.aws.amazon.com\/boto3\/latest\/reference\/services\/bedrock-runtime\/client\/converse.html\" class=\"Ext\">Boto3\u306eConverse\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9<\/a>\u306b\u6cbf\u3044\u3001\u30c4\u30fc\u30eb\u8981\u6c42\u306etoolUseId\u3092\u5bfe\u5fdc\u3059\u308btoolResult\u3078\u4ed8\u3051\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u3069\u306e\u8981\u6c42\u306b\u5bfe\u3059\u308b\u7d50\u679c\u306a\u306e\u304b\u3092\u30e2\u30c7\u30eb\u3078\u4f1d\u3048\u307e\u3059\u30021\u56de\u306e\u5fdc\u7b54\u306b\u8907\u6570\u306e\u30c4\u30fc\u30eb\u8981\u6c42\u304c\u3042\u308b\u5834\u5408\u3082\u3001\u305d\u308c\u305e\u308c\u306e\u7d50\u679c\u3092\u307e\u3068\u3081\u3066\u8fd4\u3057\u307e\u3059\u3002<br \/>\n\u5931\u6557\u3082\u4f1a\u8a71\u306e\u60c5\u5831\u3068\u3057\u3066\u8fd4\u3057\u307e\u3059\u3002\u6ce8\u6587\u304c\u898b\u3064\u304b\u3089\u306a\u3051\u308c\u3070\u3001\u30a2\u30d7\u30ea\u3092\u305d\u306e\u5834\u3067\u7d42\u4e86\u3055\u305b\u308b\u306e\u3067\u306f\u306a\u304f\u3001\u30a8\u30e9\u30fc\u5185\u5bb9\u3092\u8aad\u3093\u3060\u30e2\u30c7\u30eb\u306b\u6b21\u306e\u56de\u7b54\u3092\u4efb\u305b\u307e\u3059\u3002\u305f\u3060\u3057\u3001API\u81ea\u4f53\u306e\u8a8d\u8a3c\u30fb\u901a\u4fe1\u30a8\u30e9\u30fc\u306f\u3053\u306e\u51e6\u7406\u306e\u5bfe\u8c61\u5916\u3067\u3059\u3002<\/p>\n<h5 id=\"section-4-2-4\" class=\"Heading Title Title--xs\">4. \u8cea\u554f\u3092\u53d7\u3051\u4ed8\u3051\u308b<\/h5>\n<p>main.py\u3067\u8a2d\u5b9a\u3092\u8aad\u307f\u8fbc\u307f\u3001\u8cea\u554f\u3092\u53d7\u3051\u4ed8\u3051\u307e\u3059\u3002\u8cea\u554f\u3068\u5fdc\u7b54\u306e\u5c65\u6b74\u3092\u6b8b\u3059\u306e\u3067\u3001\u30e2\u30c7\u30eb\u304b\u3089\u6ce8\u6587\u756a\u53f7\u3092\u805e\u304b\u308c\u305f\u3089\u3001\u7d9a\u3051\u3066\u756a\u53f7\u3092\u5165\u529b\u3067\u304d\u307e\u3059\u3002<\/p>\n<div class=\"Pre-title\">main.py<\/div>\n<pre class=\"Copy\"><code>\r\nimport os\r\nfrom pathlib import Path\r\n\r\nimport boto3\r\nfrom dotenv import load_dotenv\r\n\r\nfrom agent import answer\r\n\r\n\r\ndef main():\r\n    load_dotenv(Path(__file__).with_name(&quot;.env&quot;))\r\n    model_id = os.environ.get(&quot;BEDROCK_MODEL_ID&quot;, &quot;&quot;).strip()\r\n    region = os.environ.get(&quot;AWS_DEFAULT_REGION&quot;, &quot;&quot;).strip()\r\n    if not model_id or not region:\r\n        raise SystemExit(&quot;.env\u306bBEDROCK_MODEL_ID\u3068AWS_DEFAULT_REGION\u3092\u8a2d\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002&quot;)\r\n    client = boto3.client(&quot;bedrock-runtime&quot;, region_name=region)\r\n    messages = []\r\n    print(f&quot;\u30e2\u30c7\u30eb: {model_id}\\n\u30ea\u30fc\u30b8\u30e7\u30f3: {region}&quot;)\r\n    print(&quot;\u67b6\u7a7a\u30c7\u30fc\u30bf\u306e\u30c7\u30e2\u3067\u3059\u3002\u7a7a\u5165\u529b\u3067\u7d42\u4e86\u3057\u307e\u3059\u3002\u8cea\u554f\u306fBedrock\u3078\u9001\u4fe1\u3055\u308c\u307e\u3059\u3002&quot;)\r\n    while True:\r\n        question = input(&quot;\\n\u8cea\u554f: &quot;).strip()\r\n        if not question:\r\n            break\r\n        messages.append({&quot;role&quot;: &quot;user&quot;, &quot;content&quot;: [{&quot;text&quot;: question}]})\r\n        if not answer(client, model_id, messages):\r\n            break\r\n\r\n\r\nif __name__ == &quot;__main__&quot;:\r\n    main()\r\n<\/code><\/pre>\n<p>\u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u5b58\u3057\u305f\u3089\u3001\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3067\u8d77\u52d5\u3057\u307e\u3059\u3002<\/p>\n<div class=\"Pre-title\">bash<\/div>\n<pre class=\"Copy\"><code>\r\nuv run main.py\r\n<\/code><\/pre>\n<p>\u8cea\u554f\u6b04\u306b\u300c\u6ce8\u6587A1001\u306f\u4eca\u3069\u3053\u306b\u3042\u308a\u307e\u3059\u304b\uff1f \u914d\u9001\u4e88\u5b9a\u65e5\u3082\u6559\u3048\u3066\u304f\u3060\u3055\u3044\u3002\u300d\u3068\u5165\u529b\u3057\u307e\u3059\u3002\u7a7a\u5165\u529b\u3067\u7d42\u4e86\u3057\u307e\u3059\u3002<br \/>\n\u5b9f\u884c\u3059\u308b\u3068\u3001\u30e2\u30c7\u30eb\u306fget_order\u304c\u8fd4\u3057\u305fdemo-express\u3068DEMO-001\u3092\u3001get_delivery_status\u306e\u5f15\u6570\u306b\u4f7f\u3044\u307e\u3059\u3002\u914d\u9001\u60c5\u5831\u3092\u53d6\u5f97\u3057\u305f\u5f8c\u306f\u3001\u5546\u54c1\u540d\u3068\u914d\u9001\u72b6\u6cc1\u3001\u914d\u9001\u4e88\u5b9a\u65e5\u3092\u307e\u3068\u3081\u3066\u56de\u7b54\u3057\u307e\u3057\u305f\u3002\u30e2\u30c7\u30eb\u547c\u3073\u51fa\u3057\u306f3\u56de\u3001\u30c4\u30fc\u30eb\u5b9f\u884c\u306f2\u56de\u3067\u3059\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/11\/genai-tool-use-introduction-screenshot-shipped.png\" alt=\"\u6ce8\u6587A1001\u306e\u30c4\u30fc\u30eb\u8981\u6c42\u30fb\u5b9f\u884c\u7d50\u679c\u30fb\u56de\u7b54\" class=\"content_img\" \/><\/p>\n<div class=\"Image-caption\">\u6ce8\u6587A1001\u306e\u30c4\u30fc\u30eb\u8981\u6c42\u30fb\u5b9f\u884c\u7d50\u679c\u30fb\u56de\u7b54<\/div>\n<p>\u7d9a\u3051\u3066\u3001\u672a\u767a\u9001\u306e\u6ce8\u6587\u306b\u3064\u3044\u3066\u8cea\u554f\u3057\u307e\u3059\u3002<\/p>\n<blockquote class=\"Post-blockquote\"><p>\n\u6ce8\u6587A1002\u306f\u4eca\u3069\u3053\u306b\u3042\u308a\u307e\u3059\u304b\uff1f\n<\/p><\/blockquote>\n<p>A1002\u306f\u672a\u767a\u9001\u306e\u305f\u3081\u3001\u914d\u9001\u4f1a\u793e\u3068\u914d\u9001\u4f1d\u7968\u756a\u53f7\u304c\u767b\u9332\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002\u30e2\u30c7\u30eb\u306fget_order\u306e\u7d50\u679c\u304b\u3089\u8ffd\u8de1\u306b\u5fc5\u8981\u306a\u60c5\u5831\u304c\u306a\u3044\u3053\u3068\u3092\u8aad\u307f\u53d6\u308a\u3001get_delivery_status\u3092\u547c\u3070\u305a\u306b\u56de\u7b54\u3057\u307e\u3057\u305f\u3002\u30e2\u30c7\u30eb\u547c\u3073\u51fa\u3057\u306f2\u56de\u3001\u30c4\u30fc\u30eb\u5b9f\u884c\u306f1\u56de\u3067\u3059\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/11\/genai-tool-use-introduction-screenshot-unshipped.png\" alt=\"\u6ce8\u6587A1002\u3067\u6ce8\u6587\u7167\u4f1a\u3060\u3051\u3092\u8981\u6c42\u3057\u3066\u56de\u7b54\u3057\u305f\u7d50\u679c\" class=\"content_img\" \/><\/p>\n<div class=\"Image-caption\">\u6ce8\u6587A1002\u3067\u6ce8\u6587\u7167\u4f1a\u3060\u3051\u3092\u8981\u6c42\u3057\u3066\u56de\u7b54\u3057\u305f\u7d50\u679c<\/div>\n<p>agent.py\u306e\u30eb\u30fc\u30d7\u306b\u306f\u30012\u3064\u306e\u30c4\u30fc\u30eb\u3092\u547c\u3076\u9806\u756a\u3092\u66f8\u3044\u3066\u3044\u307e\u305b\u3093\u3002\u30b7\u30b9\u30c6\u30e0\u30d7\u30ed\u30f3\u30d7\u30c8\u3067\u300c\u672a\u767a\u9001\u3067\u914d\u9001\u4f1d\u7968\u756a\u53f7\u304c\u306a\u3044\u5834\u5408\u306f\u914d\u9001\u8ffd\u8de1\u3057\u306a\u3044\u300d\u3068\u3044\u3046\u65b9\u91dd\u3092\u4f1d\u3048\u3001\u6b21\u306b\u3069\u306e\u30c4\u30fc\u30eb\u3092\u547c\u3076\u304b\u3001\u30c4\u30fc\u30eb\u3092\u4f7f\u308f\u305a\u306b\u56de\u7b54\u3059\u308b\u304b\u306f\u3001\u53d6\u5f97\u3057\u305f\u60c5\u5831\u3092\u3082\u3068\u306b\u30e2\u30c7\u30eb\u304c\u9078\u3073\u307e\u3059\u3002<\/p>\n<h3 id=\"section-5\" class=\"Heading Title Title--m\">\u696d\u52d9\u30c7\u30fc\u30bf\u3078\u3064\u306a\u3050\u524d\u306b\u78ba\u8a8d\u3059\u308b\u3053\u3068<\/h3>\n<p>\u4eca\u56de\u306e\u30b3\u30fc\u30c9\u306f\u3001\u67b6\u7a7a\u30c7\u30fc\u30bf\u3067\u4ed5\u7d44\u307f\u3092\u78ba\u304b\u3081\u308b\u305f\u3081\u306e\u6700\u5c0f\u69cb\u6210\u3067\u3059\u3002\u5b9f\u969b\u306e\u6ce8\u6587\u30b7\u30b9\u30c6\u30e0\u3084\u914d\u9001API\u3078\u3064\u306a\u3050\u524d\u306b\u3001\u6b21\u306e4\u70b9\u3092\u898b\u76f4\u3057\u307e\u3059\u3002<\/p>\n<table class=\"Base-table\">\n<tr>\n<th>\u78ba\u8a8d\u3059\u308b\u3053\u3068<\/th>\n<th>\u3053\u306e\u30c7\u30e2\u3067\u306e\u6271\u3044<\/th>\n<th>\u696d\u52d9\u3067\u8ffd\u52a0\u3059\u308b\u5bfe\u5fdc<\/th>\n<\/tr>\n<tr>\n<td>\u8981\u6c42\u3092\u5b9f\u884c\u3057\u3066\u3088\u3044\u304b<\/td>\n<td>\u767b\u9332\u6e08\u307f\u306e\u95a2\u6570\u540d\u3068\u5f15\u6570\u306e\u5f62\u3060\u3051\u3092\u78ba\u8a8d\u3059\u308b\u3002\u5229\u7528\u8005\u306e\u8a8d\u8a3c\u3084\u6ce8\u6587\u306e\u6240\u6709\u8005\u306f\u78ba\u8a8d\u3057\u306a\u3044<\/td>\n<td>\u305d\u306e\u5229\u7528\u8005\u304c\u95b2\u89a7\u3067\u304d\u308b\u6ce8\u6587\u304b\u3092\u3001\u30a2\u30d7\u30ea\u3084\u30c7\u30fc\u30bf\u53d6\u5f97\u5074\u3067\u78ba\u8a8d\u3059\u308b<\/td>\n<\/tr>\n<tr>\n<td>\u5f15\u6570\u306e\u5024\u304c\u6b63\u3057\u3044\u304b<\/td>\n<td>\u914d\u9001\u4f1a\u793e\u30fb\u4f1d\u7968\u756a\u53f7\u306f\u3001\u30c4\u30fc\u30eb\u306e\u8aac\u660e\u3068\u4f1a\u8a71\u5c65\u6b74\u3092\u3082\u3068\u306b\u30e2\u30c7\u30eb\u304c\u9078\u3076\u3002\u53d6\u5f97\u5143\u306f\u30b3\u30fc\u30c9\u3067\u5f37\u5236\u3057\u306a\u3044<\/td>\n<td>\u5024\u306e\u4e00\u81f4\u304c\u5fc5\u9808\u306a\u3089\u3001\u6ce8\u6587\u7167\u4f1a\u3067\u53d6\u5f97\u6e08\u307f\u306e\u30c7\u30fc\u30bf\u3068\u7167\u5408\u3059\u308b<\/td>\n<\/tr>\n<tr>\n<td>\u5916\u90e8\u3078\u9001\u3089\u308c\u308b\u60c5\u5831<\/td>\n<td>\u8cea\u554f\u3068\u30c4\u30fc\u30eb\u306e\u7d50\u679c\u304cBedrock\u3078\u9001\u4fe1\u3055\u308c\u308b<\/td>\n<td>\u30e2\u30c7\u30eb\u306b\u6e21\u3057\u3066\u3088\u3044\u9805\u76ee\u3060\u3051\u3092\u30c4\u30fc\u30eb\u7d50\u679c\u306b\u542b\u3081\u308b<\/td>\n<\/tr>\n<tr>\n<td>\u7e70\u308a\u8fd4\u3057\u306e\u4e0a\u9650<\/td>\n<td>1\u3064\u306e\u8cea\u554f\u306b\u3064\u304d\u3001\u30e2\u30c7\u30eb\u547c\u3073\u51fa\u3057\u306f\u6700\u59275\u56de\u3001\u30c4\u30fc\u30eb\u8981\u6c42\u306f\u5408\u8a088\u4ef6\u307e\u3067<\/td>\n<td>\u8cbb\u7528\u3084\u51e6\u7406\u6642\u9593\u306e\u8981\u4ef6\u306b\u5408\u308f\u305b\u3066\u4e0a\u9650\u3092\u6c7a\u3081\u308b<\/td>\n<\/tr>\n<\/table>\n<p>\u3069\u306e\u30c4\u30fc\u30eb\u3092\u547c\u3076\u304b\u306f\u30e2\u30c7\u30eb\u304c\u9078\u3073\u307e\u3059\u304c\u3001\u305d\u306e\u8981\u6c42\u3092\u5b9f\u884c\u3057\u3066\u3088\u3044\u304b\u306f\u30a2\u30d7\u30ea\u5074\u3067\u5224\u65ad\u3057\u307e\u3059\u3002\u307e\u305f\u3001\u6ce8\u6587\u3092\u30ed\u30fc\u30ab\u30eb\u306e\u95a2\u6570\u3067\u53d6\u5f97\u3057\u3066\u3082\u3001\u305d\u306e\u7d50\u679c\u306f\u30e2\u30c7\u30eb\u3078\u6e21\u3059\u305f\u3081\u306bBedrock\u3078\u9001\u4fe1\u3055\u308c\u307e\u3059\u3002\u4e0a\u9650\u306e\u56de\u6570\u306f\u30c7\u30e2\u7528\u306e\u5024\u3067\u3001\u8cbb\u7528\u3084\u51e6\u7406\u6642\u9593\u3092\u4fdd\u8a3c\u3059\u308b\u3082\u306e\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<h3 id=\"section-6\" class=\"Heading Title Title--m\">\u307e\u3068\u3081<\/h3>\n<p>Tool Use\u3067\u306f\u3001\u30e2\u30c7\u30eb\u304c\u30c4\u30fc\u30eb\u306e\u540d\u524d\u3068\u5f15\u6570\u3092\u542b\u3080\u8981\u6c42\u3092\u8fd4\u3057\u3001\u30a2\u30d7\u30ea\u304c\u305d\u306e\u95a2\u6570\u3092\u5b9f\u884c\u3057\u3066\u7d50\u679c\u3092\u6e21\u3057\u307e\u3059\u3002\u7d50\u679c\u3092\u53d7\u3051\u53d6\u3063\u305f\u30e2\u30c7\u30eb\u306f\u3001\u56de\u7b54\u3059\u308b\u304b\u3001\u3055\u3089\u306b\u5fc5\u8981\u306a\u30c4\u30fc\u30eb\u3092\u8981\u6c42\u3057\u307e\u3059\u3002<br \/>\n\u6ce8\u6587\u7167\u4f1a\u3068\u914d\u9001\u8ffd\u8de1\u306e\u3088\u3046\u306b\u30011\u3064\u76ee\u306e\u7d50\u679c\u3092\u6b21\u306e\u30c4\u30fc\u30eb\u306e\u5165\u529b\u3068\u3057\u3066\u4f7f\u3046\u3053\u3068\u3067\u3001\u6700\u521d\u306e\u8cea\u554f\u3060\u3051\u3067\u306f\u5206\u304b\u3089\u306a\u304b\u3063\u305f\u60c5\u5831\u3092\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002\u30a2\u30d7\u30ea\u306f\u5b9f\u884c\u3068\u7d50\u679c\u306e\u8fd4\u5374\u3092\u62c5\u5f53\u3057\u3001\u30e2\u30c7\u30eb\u306f\u305d\u306e\u60c5\u5831\u3092\u4f7f\u3063\u3066\u6b21\u306e\u51e6\u7406\u3084\u56de\u7b54\u3092\u6c7a\u3081\u307e\u3059\u3002<br \/>\n\u307e\u305a\u306f\u53c2\u7167\u3060\u3051\u3092\u884c\u3046\u5c0f\u3055\u306a\u95a2\u6570\u3092\u7528\u610f\u3057\u3001\u901a\u5e38\u306e\u7167\u4f1a\u3001\u60c5\u5831\u4e0d\u8db3\u3001\u53d6\u5f97\u5931\u6557\u306e\u5404\u30b1\u30fc\u30b9\u3067\u3001\u3069\u306e\u30c4\u30fc\u30eb\u304c\u547c\u3070\u308c\u308b\u304b\u3092\u78ba\u8a8d\u3059\u308b\u3068\u3053\u308d\u304b\u3089\u59cb\u3081\u3089\u308c\u307e\u3059\u3002<\/p>\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\u69d8\u3005\u306a\u652f\u63f4\u3092\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<li class=\"Base-list__child\">\n        <a href=\"https:\/\/www.techfun.co.jp\/services\/ai\/plain-rag\/\" class=\"Ext\">Plain RAG<\/a>\uff1a\u793e\u5185\u6587\u66f8\u3092\u3082\u3068\u306b\u56de\u7b54\u3057\u3001\u793e\u5185\u554f\u3044\u5408\u308f\u305b\u3092\u52b9\u7387\u5316\u3059\u308bAI\u30c1\u30e3\u30c3\u30c8\u30d1\u30c3\u30b1\u30fc\u30b8\u3067\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\u6ce8\u6587A1001\u306f\u4eca\u3069\u3053\u306b\u3042\u308a\u307e\u3059\u304b\uff1f\u300d\u3068\u805e\u304b\u308c\u3066\u3082\u3001LLM\u306f\u305d\u306e\u6ce8\u6587\u306e\u72b6\u6cc1\u3092\u77e5\u308a\u307e\u305b\u3093\u3002\u6ce8\u6587\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0\u3067\u4f1d\u7968\u756a\u53f7\u3092\u8abf\u3079\u3001\u914d\u9001\u4f1a\u793e\u306e\u30b7\u30b9\u30c6\u30e0\u3067\u914d\u9001\u72b6\u6cc1\u3092\u78ba\u8a8d\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002 \u5916\u90e8\u306e\u95a2\u6570\u3092\u4f7f\u3063\u3066\u60c5\u5831\u3092\u53d6\u5f97\u3057\u2026<\/p>\n","protected":false},"author":7,"featured_media":7581,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[91],"post_tag_01":[94],"post_tag_02":[97,103],"post_tag_03":[],"class_list":["post-7579","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-generative-ai","post_tag_01-aws-amazon_bedrock","post_tag_02-ai_agent","post_tag_02-generation_ai_basis"],"acf":[],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.4 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u306f\u3058\u3081\u306b \u300c\u6ce8\u6587A1001\u306f\u4eca\u3069\u3053\u306b\u3042\u308a\u307e\u3059\u304b\uff1f\u300d\u3068\u805e\u304b\u308c\u3066\u3082\u3001LLM\u306f\u305d\u306e\u6ce8\u6587\u306e\u72b6\u6cc1\u3092\u77e5\u308a\u307e\u305b\u3093\u3002\u6ce8\u6587\u7ba1\u7406\u30b7\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"\u571f\u80a5\u6d77\u4eba\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/techfun.cc\/generative-ai\/genai-tool-use-introduction.html\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.4\" \/>\n\t\t<meta property=\"og:locale\" content=\"ja_JP\" \/>\n\t\t<meta property=\"og:site_name\" content=\"IT\u30a8\u30f3\u30b8\u30cb\u30a2\u304c\u4f5c\u308b\u30e1\u30c7\u30a3\u30a2 Tech Fun Magazine - Tech Fun Magazine\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Tool Use\u3068\u306f\uff1f\u30e2\u30c7\u30eb\u3068\u30a2\u30d7\u30ea\u306e\u5f79\u5272\u5206\u62c5\u304b\u3089\u5b66\u3076\u751f\u6210AI\u306e\u30c4\u30fc\u30eb\u9023\u643a - IT\u30a8\u30f3\u30b8\u30cb\u30a2\u304c\u4f5c\u308b\u30e1\u30c7\u30a3\u30a2 Tech Fun Magazine\" \/>\n\t\t<meta property=\"og:description\" content=\"\u306f\u3058\u3081\u306b \u300c\u6ce8\u6587A1001\u306f\u4eca\u3069\u3053\u306b\u3042\u308a\u307e\u3059\u304b\uff1f\u300d\u3068\u805e\u304b\u308c\u3066\u3082\u3001LLM\u306f\u305d\u306e\u6ce8\u6587\u306e\u72b6\u6cc1\u3092\u77e5\u308a\u307e\u305b\u3093\u3002\u6ce8\u6587\u7ba1\u7406\u30b7\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/techfun.cc\/generative-ai\/genai-tool-use-introduction.html\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2026-11-09T23:51:45+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-11-09T23:51:45+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Tool Use\u3068\u306f\uff1f\u30e2\u30c7\u30eb\u3068\u30a2\u30d7\u30ea\u306e\u5f79\u5272\u5206\u62c5\u304b\u3089\u5b66\u3076\u751f\u6210AI\u306e\u30c4\u30fc\u30eb\u9023\u643a - IT\u30a8\u30f3\u30b8\u30cb\u30a2\u304c\u4f5c\u308b\u30e1\u30c7\u30a3\u30a2 Tech Fun Magazine\" \/>\n\t\t<meta name=\"twitter:description\" content=\"\u306f\u3058\u3081\u306b \u300c\u6ce8\u6587A1001\u306f\u4eca\u3069\u3053\u306b\u3042\u308a\u307e\u3059\u304b\uff1f\u300d\u3068\u805e\u304b\u308c\u3066\u3082\u3001LLM\u306f\u305d\u306e\u6ce8\u6587\u306e\u72b6\u6cc1\u3092\u77e5\u308a\u307e\u305b\u3093\u3002\u6ce8\u6587\u7ba1\u7406\u30b7\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/techfun.cc\\\/generative-ai\\\/genai-tool-use-introduction.html#blogposting\",\"name\":\"Tool Use\\u3068\\u306f\\uff1f\\u30e2\\u30c7\\u30eb\\u3068\\u30a2\\u30d7\\u30ea\\u306e\\u5f79\\u5272\\u5206\\u62c5\\u304b\\u3089\\u5b66\\u3076\\u751f\\u6210AI\\u306e\\u30c4\\u30fc\\u30eb\\u9023\\u643a - IT\\u30a8\\u30f3\\u30b8\\u30cb\\u30a2\\u304c\\u4f5c\\u308b\\u30e1\\u30c7\\u30a3\\u30a2 Tech Fun Magazine\",\"headline\":\"Tool Use\\u3068\\u306f\\uff1f\\u30e2\\u30c7\\u30eb\\u3068\\u30a2\\u30d7\\u30ea\\u306e\\u5f79\\u5272\\u5206\\u62c5\\u304b\\u3089\\u5b66\\u3076\\u751f\\u6210AI\\u306e\\u30c4\\u30fc\\u30eb\\u9023\\u643a\",\"author\":{\"@id\":\"https:\\\/\\\/techfun.cc\\\/author\\\/dohi#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/techfun.cc\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/genai-tool-use-introduction.png\",\"width\":1672,\"height\":941},\"datePublished\":\"2026-11-10T08:51:45+09:00\",\"dateModified\":\"2026-11-10T08:51:45+09:00\",\"inLanguage\":\"ja\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/techfun.cc\\\/generative-ai\\\/genai-tool-use-introduction.html#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/techfun.cc\\\/generative-ai\\\/genai-tool-use-introduction.html#webpage\"},\"articleSection\":\"\\u751f\\u6210AI\\u95a2\\u9023, AWS\\u30fbAmazon Bedrock, AI\\u30a8\\u30fc\\u30b8\\u30a7\\u30f3\\u30c8, \\u751f\\u6210AI\\u306e\\u57fa\\u790e\\u30fb\\u4ed5\\u7d44\\u307f\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/techfun.cc\\\/generative-ai\\\/genai-tool-use-introduction.html#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/techfun.cc\\\/#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/techfun.cc\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/techfun.cc#listItem\",\"name\":\"\\u6295\\u7a3f\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/techfun.cc#listItem\",\"position\":2,\"name\":\"\\u6295\\u7a3f\",\"item\":\"https:\\\/\\\/techfun.cc\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/techfun.cc\\\/.\\\/generative-ai#listItem\",\"name\":\"\\u751f\\u6210AI\\u95a2\\u9023\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/techfun.cc\\\/#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/techfun.cc\\\/.\\\/generative-ai#listItem\",\"position\":3,\"name\":\"\\u751f\\u6210AI\\u95a2\\u9023\",\"item\":\"https:\\\/\\\/techfun.cc\\\/.\\\/generative-ai\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/techfun.cc\\\/generative-ai\\\/genai-tool-use-introduction.html#listItem\",\"name\":\"Tool Use\\u3068\\u306f\\uff1f\\u30e2\\u30c7\\u30eb\\u3068\\u30a2\\u30d7\\u30ea\\u306e\\u5f79\\u5272\\u5206\\u62c5\\u304b\\u3089\\u5b66\\u3076\\u751f\\u6210AI\\u306e\\u30c4\\u30fc\\u30eb\\u9023\\u643a\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/techfun.cc#listItem\",\"name\":\"\\u6295\\u7a3f\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/techfun.cc\\\/generative-ai\\\/genai-tool-use-introduction.html#listItem\",\"position\":4,\"name\":\"Tool Use\\u3068\\u306f\\uff1f\\u30e2\\u30c7\\u30eb\\u3068\\u30a2\\u30d7\\u30ea\\u306e\\u5f79\\u5272\\u5206\\u62c5\\u304b\\u3089\\u5b66\\u3076\\u751f\\u6210AI\\u306e\\u30c4\\u30fc\\u30eb\\u9023\\u643a\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/techfun.cc\\\/.\\\/generative-ai#listItem\",\"name\":\"\\u751f\\u6210AI\\u95a2\\u9023\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/techfun.cc\\\/#organization\",\"name\":\"Tech Fun Magazine DEMO\",\"description\":\"Tech Fun Magazine\",\"url\":\"https:\\\/\\\/techfun.cc\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/techfun.cc\\\/author\\\/dohi#author\",\"url\":\"https:\\\/\\\/techfun.cc\\\/author\\\/dohi\",\"name\":\"\\u571f\\u80a5\\u6d77\\u4eba\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/techfun.cc\\\/generative-ai\\\/genai-tool-use-introduction.html#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0c2290c1f5b79d0b4fabbdbe83266dc6c9ec67168fb09e6444695978a3e0d4d8?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"\\u571f\\u80a5\\u6d77\\u4eba\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/techfun.cc\\\/generative-ai\\\/genai-tool-use-introduction.html#webpage\",\"url\":\"https:\\\/\\\/techfun.cc\\\/generative-ai\\\/genai-tool-use-introduction.html\",\"name\":\"Tool Use\\u3068\\u306f\\uff1f\\u30e2\\u30c7\\u30eb\\u3068\\u30a2\\u30d7\\u30ea\\u306e\\u5f79\\u5272\\u5206\\u62c5\\u304b\\u3089\\u5b66\\u3076\\u751f\\u6210AI\\u306e\\u30c4\\u30fc\\u30eb\\u9023\\u643a - IT\\u30a8\\u30f3\\u30b8\\u30cb\\u30a2\\u304c\\u4f5c\\u308b\\u30e1\\u30c7\\u30a3\\u30a2 Tech Fun Magazine\",\"description\":\"\\u306f\\u3058\\u3081\\u306b \\u300c\\u6ce8\\u6587A1001\\u306f\\u4eca\\u3069\\u3053\\u306b\\u3042\\u308a\\u307e\\u3059\\u304b\\uff1f\\u300d\\u3068\\u805e\\u304b\\u308c\\u3066\\u3082\\u3001LLM\\u306f\\u305d\\u306e\\u6ce8\\u6587\\u306e\\u72b6\\u6cc1\\u3092\\u77e5\\u308a\\u307e\\u305b\\u3093\\u3002\\u6ce8\\u6587\\u7ba1\\u7406\\u30b7\",\"inLanguage\":\"ja\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/techfun.cc\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/techfun.cc\\\/generative-ai\\\/genai-tool-use-introduction.html#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/techfun.cc\\\/author\\\/dohi#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/techfun.cc\\\/author\\\/dohi#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/genai-tool-use-introduction.png\",\"@id\":\"https:\\\/\\\/techfun.cc\\\/generative-ai\\\/genai-tool-use-introduction.html\\\/#mainImage\",\"width\":1672,\"height\":941},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/techfun.cc\\\/generative-ai\\\/genai-tool-use-introduction.html#mainImage\"},\"datePublished\":\"2026-11-10T08:51:45+09:00\",\"dateModified\":\"2026-11-10T08:51:45+09:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/techfun.cc\\\/#website\",\"url\":\"https:\\\/\\\/techfun.cc\\\/\",\"name\":\"Tech Fun Magazine DEMO\",\"description\":\"Tech Fun Magazine\",\"inLanguage\":\"ja\",\"publisher\":{\"@id\":\"https:\\\/\\\/techfun.cc\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Tool Use\u3068\u306f\uff1f\u30e2\u30c7\u30eb\u3068\u30a2\u30d7\u30ea\u306e\u5f79\u5272\u5206\u62c5\u304b\u3089\u5b66\u3076\u751f\u6210AI\u306e\u30c4\u30fc\u30eb\u9023\u643a - IT\u30a8\u30f3\u30b8\u30cb\u30a2\u304c\u4f5c\u308b\u30e1\u30c7\u30a3\u30a2 Tech Fun Magazine","description":"\u306f\u3058\u3081\u306b \u300c\u6ce8\u6587A1001\u306f\u4eca\u3069\u3053\u306b\u3042\u308a\u307e\u3059\u304b\uff1f\u300d\u3068\u805e\u304b\u308c\u3066\u3082\u3001LLM\u306f\u305d\u306e\u6ce8\u6587\u306e\u72b6\u6cc1\u3092\u77e5\u308a\u307e\u305b\u3093\u3002\u6ce8\u6587\u7ba1\u7406\u30b7","canonical_url":"https:\/\/techfun.cc\/generative-ai\/genai-tool-use-introduction.html","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/techfun.cc\/generative-ai\/genai-tool-use-introduction.html#blogposting","name":"Tool Use\u3068\u306f\uff1f\u30e2\u30c7\u30eb\u3068\u30a2\u30d7\u30ea\u306e\u5f79\u5272\u5206\u62c5\u304b\u3089\u5b66\u3076\u751f\u6210AI\u306e\u30c4\u30fc\u30eb\u9023\u643a - IT\u30a8\u30f3\u30b8\u30cb\u30a2\u304c\u4f5c\u308b\u30e1\u30c7\u30a3\u30a2 Tech Fun Magazine","headline":"Tool Use\u3068\u306f\uff1f\u30e2\u30c7\u30eb\u3068\u30a2\u30d7\u30ea\u306e\u5f79\u5272\u5206\u62c5\u304b\u3089\u5b66\u3076\u751f\u6210AI\u306e\u30c4\u30fc\u30eb\u9023\u643a","author":{"@id":"https:\/\/techfun.cc\/author\/dohi#author"},"publisher":{"@id":"https:\/\/techfun.cc\/#organization"},"image":{"@type":"ImageObject","url":"\/wp-content\/uploads\/2026\/11\/genai-tool-use-introduction.png","width":1672,"height":941},"datePublished":"2026-11-10T08:51:45+09:00","dateModified":"2026-11-10T08:51:45+09:00","inLanguage":"ja","mainEntityOfPage":{"@id":"https:\/\/techfun.cc\/generative-ai\/genai-tool-use-introduction.html#webpage"},"isPartOf":{"@id":"https:\/\/techfun.cc\/generative-ai\/genai-tool-use-introduction.html#webpage"},"articleSection":"\u751f\u6210AI\u95a2\u9023, AWS\u30fbAmazon Bedrock, AI\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8, \u751f\u6210AI\u306e\u57fa\u790e\u30fb\u4ed5\u7d44\u307f"},{"@type":"BreadcrumbList","@id":"https:\/\/techfun.cc\/generative-ai\/genai-tool-use-introduction.html#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/techfun.cc\/#listItem","position":1,"name":"Home","item":"https:\/\/techfun.cc\/","nextItem":{"@type":"ListItem","@id":"https:\/\/techfun.cc#listItem","name":"\u6295\u7a3f"}},{"@type":"ListItem","@id":"https:\/\/techfun.cc#listItem","position":2,"name":"\u6295\u7a3f","item":"https:\/\/techfun.cc","nextItem":{"@type":"ListItem","@id":"https:\/\/techfun.cc\/.\/generative-ai#listItem","name":"\u751f\u6210AI\u95a2\u9023"},"previousItem":{"@type":"ListItem","@id":"https:\/\/techfun.cc\/#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/techfun.cc\/.\/generative-ai#listItem","position":3,"name":"\u751f\u6210AI\u95a2\u9023","item":"https:\/\/techfun.cc\/.\/generative-ai","nextItem":{"@type":"ListItem","@id":"https:\/\/techfun.cc\/generative-ai\/genai-tool-use-introduction.html#listItem","name":"Tool Use\u3068\u306f\uff1f\u30e2\u30c7\u30eb\u3068\u30a2\u30d7\u30ea\u306e\u5f79\u5272\u5206\u62c5\u304b\u3089\u5b66\u3076\u751f\u6210AI\u306e\u30c4\u30fc\u30eb\u9023\u643a"},"previousItem":{"@type":"ListItem","@id":"https:\/\/techfun.cc#listItem","name":"\u6295\u7a3f"}},{"@type":"ListItem","@id":"https:\/\/techfun.cc\/generative-ai\/genai-tool-use-introduction.html#listItem","position":4,"name":"Tool Use\u3068\u306f\uff1f\u30e2\u30c7\u30eb\u3068\u30a2\u30d7\u30ea\u306e\u5f79\u5272\u5206\u62c5\u304b\u3089\u5b66\u3076\u751f\u6210AI\u306e\u30c4\u30fc\u30eb\u9023\u643a","previousItem":{"@type":"ListItem","@id":"https:\/\/techfun.cc\/.\/generative-ai#listItem","name":"\u751f\u6210AI\u95a2\u9023"}}]},{"@type":"Organization","@id":"https:\/\/techfun.cc\/#organization","name":"Tech Fun Magazine DEMO","description":"Tech Fun Magazine","url":"https:\/\/techfun.cc\/"},{"@type":"Person","@id":"https:\/\/techfun.cc\/author\/dohi#author","url":"https:\/\/techfun.cc\/author\/dohi","name":"\u571f\u80a5\u6d77\u4eba","image":{"@type":"ImageObject","@id":"https:\/\/techfun.cc\/generative-ai\/genai-tool-use-introduction.html#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/0c2290c1f5b79d0b4fabbdbe83266dc6c9ec67168fb09e6444695978a3e0d4d8?s=96&d=mm&r=g","width":96,"height":96,"caption":"\u571f\u80a5\u6d77\u4eba"}},{"@type":"WebPage","@id":"https:\/\/techfun.cc\/generative-ai\/genai-tool-use-introduction.html#webpage","url":"https:\/\/techfun.cc\/generative-ai\/genai-tool-use-introduction.html","name":"Tool Use\u3068\u306f\uff1f\u30e2\u30c7\u30eb\u3068\u30a2\u30d7\u30ea\u306e\u5f79\u5272\u5206\u62c5\u304b\u3089\u5b66\u3076\u751f\u6210AI\u306e\u30c4\u30fc\u30eb\u9023\u643a - IT\u30a8\u30f3\u30b8\u30cb\u30a2\u304c\u4f5c\u308b\u30e1\u30c7\u30a3\u30a2 Tech Fun Magazine","description":"\u306f\u3058\u3081\u306b \u300c\u6ce8\u6587A1001\u306f\u4eca\u3069\u3053\u306b\u3042\u308a\u307e\u3059\u304b\uff1f\u300d\u3068\u805e\u304b\u308c\u3066\u3082\u3001LLM\u306f\u305d\u306e\u6ce8\u6587\u306e\u72b6\u6cc1\u3092\u77e5\u308a\u307e\u305b\u3093\u3002\u6ce8\u6587\u7ba1\u7406\u30b7","inLanguage":"ja","isPartOf":{"@id":"https:\/\/techfun.cc\/#website"},"breadcrumb":{"@id":"https:\/\/techfun.cc\/generative-ai\/genai-tool-use-introduction.html#breadcrumblist"},"author":{"@id":"https:\/\/techfun.cc\/author\/dohi#author"},"creator":{"@id":"https:\/\/techfun.cc\/author\/dohi#author"},"image":{"@type":"ImageObject","url":"\/wp-content\/uploads\/2026\/11\/genai-tool-use-introduction.png","@id":"https:\/\/techfun.cc\/generative-ai\/genai-tool-use-introduction.html\/#mainImage","width":1672,"height":941},"primaryImageOfPage":{"@id":"https:\/\/techfun.cc\/generative-ai\/genai-tool-use-introduction.html#mainImage"},"datePublished":"2026-11-10T08:51:45+09:00","dateModified":"2026-11-10T08:51:45+09:00"},{"@type":"WebSite","@id":"https:\/\/techfun.cc\/#website","url":"https:\/\/techfun.cc\/","name":"Tech Fun Magazine DEMO","description":"Tech Fun Magazine","inLanguage":"ja","publisher":{"@id":"https:\/\/techfun.cc\/#organization"}}]},"og:locale":"ja_JP","og:site_name":"IT\u30a8\u30f3\u30b8\u30cb\u30a2\u304c\u4f5c\u308b\u30e1\u30c7\u30a3\u30a2 Tech Fun Magazine - Tech Fun Magazine","og:type":"article","og:title":"Tool Use\u3068\u306f\uff1f\u30e2\u30c7\u30eb\u3068\u30a2\u30d7\u30ea\u306e\u5f79\u5272\u5206\u62c5\u304b\u3089\u5b66\u3076\u751f\u6210AI\u306e\u30c4\u30fc\u30eb\u9023\u643a - IT\u30a8\u30f3\u30b8\u30cb\u30a2\u304c\u4f5c\u308b\u30e1\u30c7\u30a3\u30a2 Tech Fun Magazine","og:description":"\u306f\u3058\u3081\u306b \u300c\u6ce8\u6587A1001\u306f\u4eca\u3069\u3053\u306b\u3042\u308a\u307e\u3059\u304b\uff1f\u300d\u3068\u805e\u304b\u308c\u3066\u3082\u3001LLM\u306f\u305d\u306e\u6ce8\u6587\u306e\u72b6\u6cc1\u3092\u77e5\u308a\u307e\u305b\u3093\u3002\u6ce8\u6587\u7ba1\u7406\u30b7","og:url":"https:\/\/techfun.cc\/generative-ai\/genai-tool-use-introduction.html","article:published_time":"2026-11-09T23:51:45+00:00","article:modified_time":"2026-11-09T23:51:45+00:00","twitter:card":"summary_large_image","twitter:title":"Tool Use\u3068\u306f\uff1f\u30e2\u30c7\u30eb\u3068\u30a2\u30d7\u30ea\u306e\u5f79\u5272\u5206\u62c5\u304b\u3089\u5b66\u3076\u751f\u6210AI\u306e\u30c4\u30fc\u30eb\u9023\u643a - IT\u30a8\u30f3\u30b8\u30cb\u30a2\u304c\u4f5c\u308b\u30e1\u30c7\u30a3\u30a2 Tech Fun Magazine","twitter:description":"\u306f\u3058\u3081\u306b \u300c\u6ce8\u6587A1001\u306f\u4eca\u3069\u3053\u306b\u3042\u308a\u307e\u3059\u304b\uff1f\u300d\u3068\u805e\u304b\u308c\u3066\u3082\u3001LLM\u306f\u305d\u306e\u6ce8\u6587\u306e\u72b6\u6cc1\u3092\u77e5\u308a\u307e\u305b\u3093\u3002\u6ce8\u6587\u7ba1\u7406\u30b7"},"aioseo_meta_data":{"post_id":"7579","title":null,"description":null,"keywords":null,"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"BlogPosting","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":{"faqs":[],"keyPoints":[],"schemas":[],"titles":[],"descriptions":[],"socialPosts":{"email":{"subject":"","preview":"","content":""},"linkedin":[],"twitter":[],"facebook":[],"instagram":[]}},"created":"2026-11-09 23:46:07","updated":"2026-11-10 02:17:45","seo_analyzer_scan_date":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/techfun.cc\/\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/techfun.cc\" title=\"\u6295\u7a3f\">\u6295\u7a3f<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/techfun.cc\/.\/generative-ai\" title=\"\u751f\u6210AI\u95a2\u9023\">\u751f\u6210AI\u95a2\u9023<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tTool Use\u3068\u306f\uff1f\u30e2\u30c7\u30eb\u3068\u30a2\u30d7\u30ea\u306e\u5f79\u5272\u5206\u62c5\u304b\u3089\u5b66\u3076\u751f\u6210AI\u306e\u30c4\u30fc\u30eb\u9023\u643a\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/techfun.cc\/"},{"label":"\u6295\u7a3f","link":"https:\/\/techfun.cc"},{"label":"\u751f\u6210AI\u95a2\u9023","link":"https:\/\/techfun.cc\/.\/generative-ai"},{"label":"Tool Use\u3068\u306f\uff1f\u30e2\u30c7\u30eb\u3068\u30a2\u30d7\u30ea\u306e\u5f79\u5272\u5206\u62c5\u304b\u3089\u5b66\u3076\u751f\u6210AI\u306e\u30c4\u30fc\u30eb\u9023\u643a","link":"https:\/\/techfun.cc\/generative-ai\/genai-tool-use-introduction.html"}],"_links":{"self":[{"href":"https:\/\/techfun.cc\/wp-json\/wp\/v2\/posts\/7579","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\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/techfun.cc\/wp-json\/wp\/v2\/comments?post=7579"}],"version-history":[{"count":2,"href":"https:\/\/techfun.cc\/wp-json\/wp\/v2\/posts\/7579\/revisions"}],"predecessor-version":[{"id":7586,"href":"https:\/\/techfun.cc\/wp-json\/wp\/v2\/posts\/7579\/revisions\/7586"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/techfun.cc\/wp-json\/wp\/v2\/media\/7581"}],"wp:attachment":[{"href":"https:\/\/techfun.cc\/wp-json\/wp\/v2\/media?parent=7579"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techfun.cc\/wp-json\/wp\/v2\/categories?post=7579"},{"taxonomy":"post_tag_01","embeddable":true,"href":"https:\/\/techfun.cc\/wp-json\/wp\/v2\/post_tag_01?post=7579"},{"taxonomy":"post_tag_02","embeddable":true,"href":"https:\/\/techfun.cc\/wp-json\/wp\/v2\/post_tag_02?post=7579"},{"taxonomy":"post_tag_03","embeddable":true,"href":"https:\/\/techfun.cc\/wp-json\/wp\/v2\/post_tag_03?post=7579"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}