Simulate intent
stack_simulate_intentEvaluate an Intent against a Passport without executing it. Returns whether STACK would allow the action, with denial_reasons and diagnostics when it would not. Applies the same checks as the proxy: scope, parameter constraints, accountability and plan limits. With persist=true (the default) STACK records a signed intent_simulation claim on the Passport. Simulation is not metered and contacts no upstream service.
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": {
"passport_token": "<passport_token>",
"intent": "<intent>"
},
"name": "stack_simulate_intent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| intent | Yes | IntentClaim payload. Must include type=intent_claim, intent_type (http_call|skill_invocation|...), agent_id, named_intent, target, action, parameters, estimated_cost, accountability, reason, requires, user_subject, mission_ref, submitted_at. | |
| persist | No | Persist the resulting intent_simulation claim. Default true; pass false for pure what-if inspection. | |
| passport_token | Yes | Passport JWT token (same shape stack_proxy_request takes) | |
| intent_claim_ref | No | Pre-registered Intent claim id (pc_*) to link this simulation to. |