Skip to content
CCA-F
Prompt Engineering & Structured Output
medium
Question 1 of 38

A tool_use JSON schema requires an age field as an integer. Can Claude return semantically implausible values like 250 or -3 for this field?

ANo — JSON schema validation rejects values outside a plausible human age range automatically
BYes — tool_use schemas enforce structural correctness (data type, field presence) but not semantic validity (plausible values)
CNo — Claude's training prevents it from generating implausible age values when a schema is defined
DYes, but only when the source document explicitly states such a value

Educational Content — CertQnA practice questions are written against official exam objectives, covering the same domains tested on the real exam. All content is original and independent — not actual exam questions, not affiliated with any certification vendor. Learn more about our content policy

Discussion

Be the first to share your understanding of this concept

⚠️ Discussion is for concept clarification only. Do not share or request actual exam questions or answers.

Sign in to join the discussion