モデルを導くフィールド説明
AIが正しく値を入力できるよう、各フィールドを説明します。
「モデルを導くフィールド説明」はCoddyKit上の無料MCP Academyレッスンです。 これはレッスン4/4です。 下記で完全なレッスンを無料で読むことができます。その後、ブラウザ内の組み込みコードエディタと24時間対応のAIチューターでハンズオン演習できます。 これはMCP Academy学習パスの一部であり、ウェブとCoddyKitアプリ全体で進捗が同期されます。 MCP Academyコースには全4レッスンが含まれています。
このレッスンの一部はまだ翻訳されておらず、英語で表示されています。
The Model Reads Your Fields
Each field's name and description are shown to the AI. A good description is your chance to tell the model exactly what to put there.
Add a Description
Pass description to Field to attach a human sentence that travels with the schema all the way to the client.
city: str = Field(description="City name, e.g. Paris")Show, Don't Just Tell
Concrete examples inside a description, like a sample date or format, guide the model far better than abstract wording.
date: str = Field(description="ISO date, e.g. 2026-01-31")State the Units
If a number has units, say so. Telling the model temperature is in Celsius prevents quietly wrong Fahrenheit values.
Clarify Ambiguous Names
A field called id is vague. A description like the order's unique ID removes guesswork about which id you mean.
Spell Out the Format
When a string follows a shape, describe it. Saying phone in E.164 like plus and digits keeps the format consistent.
Note What's Optional
For optional fields, mention when to skip them. Telling the model leave blank to use the default reduces needless values.
Keep It Tight
One clear sentence beats a paragraph. A focused description is easier for the model to follow and cheaper in tokens.
Describe the Model Too
A short docstring on the model class describes the whole input, giving the AI useful context above the individual fields.
class Weather(BaseModel):
"""Inputs for a weather lookup."""
city: strDescriptions Power the Schema
Every description lands in the JSON schema the client sends to the model, so writing them well directly shapes tool calls.
Iterate on Wording
If the model keeps filling a field wrong, the fix is usually the description: sharpen the words until calls come out right.
Quick Check
Where does a Field description end up, and why does it matter?
Recap
Write tight field descriptions with examples, units, and formats. They reach the model in the schema and steer it toward correct calls. ✅
よくある質問
「モデルを導くフィールド説明」レッスンは無料ですか?
はい。「モデルを導くフィールド説明」の完全なテキストはこのウェブで無料で読めます。インタラクティブに演習し(組み込みコードエディタと24時間対応のAIチューター)、MCP Academyコースの残りをアンロックするには、CoddyKit PROにアップグレードしてください。 MCP Academyコースには全4レッスンが含まれています。
「モデルを導くフィールド説明」で何を学びますか?
AIが正しく値を入力できるよう、各フィールドを説明します。 ブラウザで直接実行するハンズオンコードでMCP Academyを演習し、24時間対応のAIチューターがレッスンを進める中での質問に答えます。
MCP Academyを始めるのに経験は必要ですか?
事前経験は必要ありません。CoddyKitのMCP Academyは初級者から上級者向けに構成されているため、ここから始めるか最初から始めて、自分のペースで進むことができます。 これはレッスン4/4です。
「モデルを導くフィールド説明」レッスンにはどのくらい時間がかかりますか?
ほとんどのCoddyKitレッスンは約5~10分かかります。各レッスンはコンパクトでインタラクティブなので、着実に進歩し、ウェブとアプリ全体で正確に前回の場所から再開できます。
このMCP Academyレッスンでコードを書いて実行できますか?
はい。すべてのMCP Academyレッスンに組み込みコードエディタが含まれているため、ブラウザでリアルコードを書いて実行し、即座のAIフィードバックを取得できます。ローカル設定は不要です。