Appearance
Why It Matters
Anthropic strict tool schemas are meant to be locked down. If input_schema leaves object nodes open, the declared contract is less deterministic than it appears.
What Triggers
SEC318 applies to Anthropic-style strict tool definitions and triggers when input_schema omits additionalProperties: false on object nodes.
Example that triggers:
json
[
{
"name": "weather",
"strict": true,
"input_schema": {
"type": "object",
"properties": { "city": { "type": "string" } },
"required": ["city"]
}
}
]False Positives
This is a structural schema-locking rule over parsed Anthropic-style tool descriptors.
Remediation
Lock the strict input_schema with additionalProperties: false on every object node.