Unverified50% confidenceSolutionExact time
The model can only select actions and targets from the legal action menu pre-filtered by rules, and the JSON schema is dynamically rebuilt on each call, so prompt injection cannot produce unauthorized behavior outside the menu.
1
Sources
50%
Confidence
Long-term
Relevance
11/16/2026
First Seen
Sources
Related Entities
Related Claims
UnverifiedJSON Schema constrains the shape of JSON data through keywords such as type, properties, required, enum, and minimum, but in tool-calling scenarios it cannot express policy constraints such as "whether a path is allowed to be written to", which must be left to the permission and approval layer.70% similarUnverifiedIn Agent scenarios, Pydantic is often used to constrain the JSON schema of model output, and a ValidationError is thrown if the model's returned content does not conform to the schema.70% similarUnverifiedAdding JSON tags to retrieved memory rows does not solve prompt injection; context should be placed in the data portion of the request rather than in system instructions that carry higher priority69% similarVerifiedConstrained decoding restricts the model, via a predefined JSON Schema, so that each generated token can only be selected from the set of valid tokens.68% similarUnverifiedThe action and security agent only receives the validated JSON results output by the research agent and executes controlled write actions (such as updating an address or creating a refund draft), without directly facing raw user input.68% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/1174878API
curl https://kongchang.com/api/v1/knowledge/claims/1174878MCP
get_claim(id=1174878)