Tool, Retrieval, and Memory Poisoning › Key Parameters
Michael BrenndoerferDecember 2, 20261 min read
Language AI HandbookAll chapters The key parameters for tool-call validation are:
- pattern: A regular expression constraining the allowed shape of a parameter such as
account_id. Tighter patterns reject malformed inputs before authorization. - enum: The set of permitted values for a parameter such as
region. Enums eliminate free-string ambiguity. - required: The list of keys that must be present. Missing required keys are rejected.
- additionalProperties: The example rejects unexpected keys when this property is set to
false.
Comments
Add to the conversation
A question, a correction, or an example from your own work.
No comments yet. Be the first to share your thoughts!