Course contents · Chapter 2
AI LiteracyChapter 2 of 42 min reading + practice

Give tools only necessary power

Permission boundaries must be enforced by the system, not only described in a prompt.

Permission boundaries must be enforced by the system, not only described in a prompt.

Separate reading availability from reserving or cancelling rooms. Give consequential tools narrow inputs and require appropriate approval.

The bigger picture

A tool-using assistant can request actions beyond generating text. That makes input validation, permissions and observable results part of the system. A model's proposed action is a request to check, not proof that the action is authorised or correct.

  1. Receive goal
  2. Propose action
  3. Validate authority
  4. Execute and verify
A working model for this course. Use it to locate where a decision or failure occurs.

Concepts to keep close

Tool call
A structured request for an application to perform a defined operation.
Least privilege
Granting only the access needed for an authorised task.
Idempotency
Designing an operation so a retry does not unintentionally duplicate its effect.

Reasoning through the problem

Remove capabilities unnecessary for the goal.

Restrict operations and scope in the service.

Put human approval before the consequential step.

Use the idea carefully

Separate planning from execution. Validate arguments and authorisation at the tool boundary, keep untrusted content from redefining permissions and require appropriate approval for consequential actions. Log outcomes and handle partial failure. Test retries and timeouts, including cases where an action succeeded but its response was lost.

Further reading & course resources

Original documentation and teaching references for further investigation.