Module 06 Knowledge Check
5 questions. Pass mark 4 out of 5. Answer every question before checking the answer key below, then retry after reading the feedback.
1. A tool's docstring is…
- A. documentation for developers
- B. shown to the model and shapes which tool it picks
- C. ignored at runtime
- D. only used in tests
2. A refund ceiling of 500 belongs…
- A. in the tool's description
- B. in code, as data, where it can be audited
- C. in the system prompt
- D. in the response schema
3. An idempotency key should come from…
- A. a random uuid per call
- B. the request id and the step name
- C. a timestamp
- D. the action's arguments
4. Confirmation before an irreversible action should be…
- A. an instruction telling the model to ask
- B. a required parameter of the function
- C. a log entry
- D. a config flag
5. A tool call should be logged…
- A. before it runs
- B. after it returns, with the attempt number and outcome
- C. only on failure
- D. only when it changes data
---
Answer Key and Explanations
Check these only after attempting every question.
1. B - shown to the model and shapes which tool it picks
Write it for the model, and put the guarantee in the code rather than in prose.
2. B - in code, as data, where it can be audited
It is policy rather than a type check, and a schema will happily accept nine thousand.
3. B - the request id and the step name
Arguments cannot distinguish two genuine refunds from two retries of one.
4. B - a required parameter of the function
An instruction produces a control you cannot state a guarantee for and cannot show an auditor.
5. B - after it returns, with the attempt number and outcome
Logged before, a call that timed out after succeeding looks identical to one that never ran.
Practical Check
Apply this module to your own work: complete the module activity for *Tool and Function Calling with External Actions*, then write one sentence naming what your result shows and one naming what it does not.
Strong Answer Pattern
A strong answer names the task, the evidence used, the check performed, and the remaining limitation. It avoids "proved", "guaranteed", or "always" unless the evidence genuinely supports it.
