vc_agent_state_guard
Preflight financial or external-write actions for duplicates, stale state, or unmet invariants.
Use before spending money or writing outside the agent sandbox.
Do not use for generic search — use vc_web_search.
Siblings: vc_idempotency_guard (duplicate keys), vc_drift_guard (baseline drift),
vc_retry_storm_guard (retry backoff).
Auth: X-Vibes-Key or x402 (~$0.02). Advisory only; no local writes.
Returns GO/NO-GO style JSON with reasons, or payment_required.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>"
},
"name": "vc_agent_state_guard"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | Current agent/business state snapshot. | |
| action | Yes | Proposed action label (e.g. transfer, write_external, publish). | |
| invariants | No | Optional invariant strings that must still hold. | |
| payment_signature | No | Optional x402 PAYMENT-SIGNATURE if not using X-Vibes-Key. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |