Design a policy engine for deciding which tools an AI assistant may call in each context.

Instruction: Describe how you would decide tool access dynamically based on context.

Context: Assesses whether the candidate can design a practical architecture and explain the main tradeoffs. Describe how you would decide tool access dynamically based on context.

Official answer available

Preview the opening of the answer, then unlock the full walkthrough.

I would design the engine around context-aware allow and deny decisions: user identity, tenant, workflow type, resource sensitivity, action risk, approval state, and whether the assistant is operating in read-only or action-taking mode.

I want the engine to evaluate tool eligibility before execution, not as an afterthought...

Related Questions