1hlabs_agent_allowance_circuit_breaker
[1HLabs Client-Side Wallet Allowance Policy Calculator (#81)] Model A SaaS (0 bps fee), non-custodial deterministic spending-cap template with 3,600s max TTL for client-side execution. Eliminates prompt-injection wallet drainage and runaway execution costs for autonomous crypto wallets (Exodus, Solana, Lightning, Base USDC). Hard-capped 3,600s TTL with automated clawback.
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": {
"parent_wallet_pubkey": "<parent_wallet_pubkey>",
"task_budget_cap": "<task_budget_cap>"
},
"name": "1hlabs_agent_allowance_circuit_breaker"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | Dry-Run Software Simulation mode. When true, returns locked preview quote with settlement_token without debiting wallet. | |
| currency | No | Denomination of the task budget | SOL |
| ttl_seconds | No | Session TTL in seconds (strictly capped at 3,600s against wallet drain) | |
| task_budget_cap | Yes | Maximum spending ceiling authorized for this autonomous task session | |
| wallet_protocol | No | Underlying blockchain / wallet rail of the autonomous agent | SOLANA |
| settlement_token | No | Optional dry-run settlement token (tok_dry_...) to redeem a previously locked preview quote. | |
| task_objective_hash | No | SHA-256 hash of the agent objective binding the allowance | |
| parent_wallet_pubkey | Yes | Parent crypto wallet public key / address in Exodus or Solana/Bitcoin/EVM | |
| auto_refund_on_failure | No | Automatically return unspent funds on timeout or failure |