Enforcing permissions on which external functions an AI agent may invoke and which resources those functions may access…