演習 › 全問
問題 Q2-01
33 / 120分野2・ツールの説明と境界の設計
まだ解いていません。
社内の人事エージェントに、search_employee(「社員情報を検索する」)と search_directory(「ディレクトリを検索する」)の2つのツールがある。どちらも氏名で引ける。ログを見ると、組織図を知りたい依頼に、search_employee が呼ばれるなど、取り違えが頻発している。最初に行う対策として最も適切なものはどれか。
正解は D
- A削除は過剰です。道具が必要なことは変わらず、説明を直せば解決できます。
- Bプロンプトに規則を書くと、説明の不足を補えますが、ツールを変えるたびに書き直しが必要で、根本は残ります。まず説明を直します。
- Cキーワードの前処理は、作り込みが大きく、言い回しの揺れにも弱いです。最初の一手としては重すぎます。
- D正解です。ツール選択は、説明を頼りに決まります。説明が薄いのが根本の原因で、説明を充実させるのが、手間が小さく効果の高い最初の一手です。
考え方:取り違えが起きたら、まず説明を充実させる(形式・例・例外・境目)。
出典:Claude Certified Architect – Foundations Exam Guide v1.0(英語)
Tool descriptions as the primary mechanism LLMs use for tool selection; minimal descriptions lead to unreliable selection among similar toolshttps://everpath-course-content.s3-accelerate.amazonaws.com/instructor…(取得 2026-11-20)
出典:Claude Certified Architect – Foundations Exam Guide v1.0(英語)
The importance of including input formats, example queries, edge cases, and boundary explanations in tool descriptionshttps://everpath-course-content.s3-accelerate.amazonaws.com/instructor…(取得 2026-11-20)
出典:Define tools
Provide extremely detailed descriptions. This is by far the most important factor in tool performance.https://platform.claude.com/docs/en/agents-and-tools/tool-use/define-t…(取得 2026-11-20)