Issue account Passport
stack_partner_issue_account_passportIssue a STACK passport under an account on the customer's behalf. Like every passport it is signed with the deployment's signing key and verifies offline against the deployment's JWKS (/v1/.well-known/jwks.json, which verifyPassportHeader reads); its stk.operator_id is the account. The account's own signing keys sign claims, not passports. Issuance counts as an action of the account, on its own plan. mission_ids is required: exactly one live Mission under the account, and the Passport never outlives it. Fields match stack_issue_passport's API body (scopes, ttl_seconds, intent, checkpoint_interval_seconds, identity_claim_ids, authority_binding_ids). Returns the Passport token, which can be stamped on outbound mail as an X-Stack-Passport header.
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": {
"account_id": "<account_id>",
"agent_id": "<agent_id>",
"mission_ids": "<mission_ids>"
},
"name": "stack_partner_issue_account_passport"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| intent | No | ||
| scopes | No | ||
| agent_id | Yes | Agent under the account that the passport is issued for. | |
| account_id | Yes | Account id (op_*) — must belong to your partner operator. | |
| mission_ids | Yes | Exactly one live Mission id (ms_*) opened under the account (with the account's API key), assigned to this agent or unassigned. | |
| ttl_seconds | No | ||
| identity_claim_ids | No | ||
| authority_binding_ids | No | ||
| checkpoint_interval_seconds | No |