Skip to content

Glossary: Agent Tools and MCP

Confirm code

Also written: confirm step, preview-and-confirm

A short code returned with a preview of a destructive action, which must be sent back to proceed. In cancel_order it is a hash of a secret, the order ID and its status, so it stops working if the order changes.

Where the book teaches it

Related terms

Destructive writeHash