AlgoViz

Tool selection, execution and observation

medium 6 min

Tool use crosses a boundary from generated proposals to effects controlled by the host.

Where it shows up

The same pattern appears across everyday software.

  • A model proposes a refund and the host checks it

    The proposal identifies a tool and arguments. It has not issued a refund, even if the JSON is syntactically perfect. The gateway checks ownership, amount limits and required approval. Keep this decision outside the model. Return a typed approval-required result. The next model response can ask for review without claiming the refund already happened.