AI agent tool permissions and policy design