Simulate Spend Sentinel policy defense and delivery predicates
simulate_spend_sentinelRun synthetic prompt-injection halts, malformed-delivery rejection, and bounded-spend eligibility examples under AP2 envelopes. No live escrow, refund, facilitator or chain action occurs.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"scenario": "injection"
},
"name": "simulate_spend_sentinel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scenario | No | Simulation scenario: 'injection' (prompt attack), 'garbage' (bad subagent output), or 'provable' (verified settlement). Default 'injection'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | ||
| tool | No | ||
| scope | No | ||
| valid | Yes | ||
| status | No | ||
| verdict | Yes | ||
| scenario | Yes | ||
| simulated | No | ||
| telemetry | No | ||
| action_taken | No | ||
| is_synthetic | No | ||
| settlement_recipient | No | ||
| requested_amount_usdc | No | ||
| actual_wallet_loss_usdc | No |