Open Mission
stack_open_missionOpen a Mission with the access and limits needed for a job and return its mission_id (ms_*). Every Passport is issued for exactly one Mission, named at issuance as mission_ids: [mission_id]. agent_id assigns the Mission to one agent. A fleet agent supplies its fleet policy and requested access instead. Completing or revoking the Mission revokes every Passport bound to it. recipients, recipient_pins and reply_to_message set who the Mission may send to, for a policy rule that leaves recipients to each Mission; an agent woken by an incoming message passes that message's id as reply_to_message to reply to its sender and no one else. The agent cannot change them; only the owner can add to them. Opening a Mission is not metered; issuing its Passport is.
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": {
"intent_summary": "<intent_summary>"
},
"name": "stack_open_mission"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limits | No | ||
| agent_id | No | Agent the Mission is assigned to (agt_*). Only that agent can be issued a Passport for it. An agent caller is always assigned itself. | |
| recipients | No | Who this Mission may send to (exact addresses, numbers or ids), applied at every recipient field a send names, a recipient inside the URL included (the path or one of its segments, such as a channel id). A policy rule that leaves recipients to each Mission allows a send only to these. A recipient listed twice is kept once. The owner can add more to a running Mission. | |
| max_actions | No | Total proxy + skill action count cap. | |
| cap_behavior | No | Per cap: pause (default: actions refused with MISSION_PAUSED until the owner decides), refuse_action or end_mission. | |
| cap_time_zone | No | IANA time zone of coverage_cap_period day. Default UTC. | |
| intent_summary | Yes | Free-form human-readable intent. e.g. "process customer refund ord_123" or "publish blog post drafts". | |
| recipient_pins | No | Recipient pins for a policy rule that leaves recipients to each Mission: a list of up to 64 { path, op, value }. path is "*" (every recipient field a send names, the URL path included) or a request field such as body.to or url.pathname; op is eq (one exact value) or in (a list of exact values, up to 1,000 recipients); one pin per path. The owner can add more to a running Mission. | |
| fleet_policy_id | No | ||
| idempotency_key | No | ||
| intent_services | No | Services the mission expects to touch. The proxy gate denies actions to services NOT in this list. Empty = no narrowing. | |
| baseline_profile | No | Behavioral fingerprint recorded at issue time. Stored as provided, or null. | |
| reply_to_message | No | The id of a message you received, or of an incoming call you answered or declined (acall_*). The Mission may send only to the person who wrote it or called. Not found when the id is not an email, text, voicemail or answered or declined call of the agent's own account; an email whose sender could not be verified is refused with a plain message. | |
| requested_access | No | ||
| max_dropoff_bytes | No | Outbound drop-off envelope byte cap. | |
| coverage_cap_cents | No | The most the Mission may spend, in cents (in one day with coverage_cap_period "day"). | |
| expires_in_seconds | No | Mission TTL in seconds. Default 900 (15 min), no maximum, and no limit is needed at any length. Worker auto-completes past this with terminal_state=completed_expired. | |
| coverage_cap_period | No | mission (default) or day (ends at midnight in cap_time_zone). | |
| max_duration_seconds | No | Wall-clock cap from mission start, in seconds. Worker auto-completes the mission past this point. | |
| requested_operations | No | ||
| authority_binding_ids | No | ||
| expected_output_shape | No | JSON Schema-ish object describing what success looks like. mission_close validates the submitted output against this. | |
| max_concurrent_intents | No | At most N intents in-flight at once. | |
| expected_counterparties | No | Pre-registered counterparty URIs (wallet addresses, recipient emails, etc.). Pre-declaring a counterparty here suppresses the first-touch undeclared_target flag for it (the simulator treats declared counterparties as already-observed). | |
| max_actions_per_service | No | Per-service action sub-caps. Example: {stripe: 5, slack: 50} caps Stripe at 5 actions while allowing 50 Slack messages. | |
| parent_passport_services | No | When provided, validates intent_services is a subset of these. Typically passed at passport-issue time; can be omitted for standalone-mission flows. | |
| making_orders_up_to_cents | No | Owner-only: cents of print-on-demand orders approved without asking. |