<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>the48</author_name>
  <author_url>https://blog.hatena.ne.jp/the48/</author_url>
  <blog_title>48's diary</blog_title>
  <blog_url>https://bleu48.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>LLM界隈ではMCPサーバ実装が流行ってますね。 色々あるんですがゲーム実装もありますね。 select766.hatenablog.com こちらはOpenAIのgpt-5を呼んだみたいです。 推定した数字に対する回答がMCPサーバで実装されています。 サーバ立てるのは面倒ということで、うちではgpt-oss:20bをOllamaのTool Calling機能で回答させる実装をしてみました。 見ての通り１ファイルに収まります。 叩き台はollama-pythonのexamplesにあるものを利用しました。 ollama-python/examples at main · ollama/oll…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbleu48.hatenablog.com%2Fentry%2F2025%2F09%2F06%2F231245&quot; title=&quot;gpt-oss:20bに数当てゲームをプレイさせる - 48&amp;#39;s diary&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-09-06 23:12:45</published>
  <title>gpt-oss:20bに数当てゲームをプレイさせる</title>
  <type>rich</type>
  <url>https://bleu48.hatenablog.com/entry/2025/09/06/231245</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
