AlgoViz

Tool selection, execution and observation

medium 6 min

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

Trace the example

Follow the evidence through each stage, then test a change in the case.

A model proposes a refund and the host checks it

A model proposes a refund and the host checks it. Selected component: Tool proposal inside Model runtime.
Open full-size diagram

Model runtime

refund(order 42, 24 USD)

The proposal identifies a tool and arguments. It has not issued a refund, even if the JSON is syntactically perfect.

A repeat request carries an existing successful operation key. What is the appropriate effect?