LabscoMCP early access ↗

Puts a person in the loop — the agent stops before anything risky and waits to be approved, corrected or refused — using the same hook that can also retry or log any tool it calls.

WHEN TO USE

SCOPE

USE FOR

  • Pause an agent before it sends an email or deletes something, and require human approval.
  • Let a human edit a tool call's arguments before approving it to run.
  • Reject a proposed tool call and pass feedback back to the agent.
  • Retry a failing tool call automatically, using a custom hook you write for it.
  • Log or inspect agent state before and after each model call.

NOT FOR

  • Do not use yield inside a wrap_tool_call hook — it creates a generator and raises NotImplementedError.