Simulate Reversible Agent Tool-Loop Privacy
simulate_reversible_agent_redactionDemonstrate Spendplane's opt-in Reversible Agent Privacy Add-On: masks entities into run-scoped placeholders ([EMAIL_01], [CUSTOMER_ID_02]), checks per-tool/field allowlists, and verifies cross-run token blocking.
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": {
"prompt": "<prompt>"
},
"name": "simulate_reversible_agent_redaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Initial user prompt containing sensitive entities (emails, keys, custom IDs like cust_8492_live). | |
| tool_args | No | Tool arguments generated by the LLM (can contain placeholder tokens like '[CUSTOMER_ID_01]'). | |
| tool_name | No | Target internal tool name to test restoration against (default: 'get_invoice_status'). | |
| allowed_fields | No | Fields on tool_name permitted to resolve protected placeholders (default: ['customer_id']). |