Submit intent for approval
stack_submit_intentSubmit an Intent for operator approval before execution. Registers the intent claim, runs a simulation unless skip_simulation is true, and creates a pending approval. Returns approval_id, intent_claim_id and the simulation result. Operators approve or reject in the dashboard or through the REST API. Passports in enforced mode need an approved intent before a proxy, skill or A2A call; stack_get_intent_approval returns the decision, and stack_proxy_request accepts the approval_id.
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_submit_intent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| intent | Yes | IntentClaim payload. Must include type=intent_claim, intent_type (http_call|skill_invocation|a2a_dispatch|...), agent_id, named_intent, target, action, parameters, estimated_cost, accountability, reason, requires, user_subject, mission_ref, submitted_at. | |
| passport_token | Yes | Passport JWT token (same shape stack_proxy_request takes) | |
| skip_simulation | No | Skip the inline simulation. Default false. | |
| expires_in_seconds | No | TTL for the pending approval row in seconds (default 900, at most 86400, a longer time is refused). The operator must decide within this window or the row flips to expired. |