Tool names depend on how your workspace connects to your CRM. Run
invoke gateway tools to see the tools your workspace has.Check, then write
POST /state/verify compares what the agent assumed with what is true now. Act only when it says verified:
status: "duplicate" instead of writing again.
What drift looks like
contact_id drifted from c_123 to c_999, so the answer is "status": "replan_required", and it lists the mismatched field. The agent doesn’t write.
Next steps
- POST /state/verify: the full API reference
- TypeScript SDK: idempotency and errors in full