---
title: "send"
description: "Transmit data to external system"
canonical: "https://acs.synapti.ai/capabilities/send/"
last_updated: "2026-11-25T13:52:54+01:00"
---

# send

Transmit data to external system

Generated from [schemas/capability_ontology.yaml](https://github.com/synaptiai/agent-capability-standard/blob/main/schemas/capability_ontology.yaml), [skills/send/SKILL.md](https://github.com/synaptiai/agent-capability-standard/blob/main/skills/send/SKILL.md) at commit 18c38b74ac21. Ontology version 2.2.0.

Layer: [EXECUTE](https://acs.synapti.ai/layers/execute/index.md)

## Safety

| Property | Value |
| --- | --- |
| Risk | High |
| Changes state | Yes |
| Needs checkpoint | Yes |
| Needs approval | Yes |
| Overridable | No |
| Blocked from autonomy | In 7 of 7 profiles |

**Figure: Ordering rules for send in a workflow.** In a workflow, checkpoint must run before it (V102); constrain should run before it (W601); constrain, where the workflow has it, must come first (V102); where the workflow has verify, send must come before it (V102); and each use needs approval.

| Where | Capability | Rule | Enforcement | Diagnostic |
| --- | --- | --- | --- | --- |
| Before send | [`checkpoint`](https://acs.synapti.ai/capabilities/checkpoint/index.md) | `requires` | MUST | V102 |
| Before send | [`checkpoint`](https://acs.synapti.ai/capabilities/checkpoint/index.md) | `precedes` | MUST | V102 |
| Before send | [`constrain`](https://acs.synapti.ai/capabilities/constrain/index.md) | `soft_requires` | SHOULD | W601 |
| Before send | [`constrain`](https://acs.synapti.ai/capabilities/constrain/index.md) | `precedes` | MUST | V102 |
| Approval | Each use needs approval | `requires_approval` |  |  |
| After send | [`verify`](https://acs.synapti.ai/capabilities/verify/index.md) | `precedes` | MUST | V102 |

## Relationships

**Figure: Relationships of send: 5 relationships with 3 capabilities.** send has 5 relationships with 3 capabilities: 2 with edges into it and 1 with edges out of it.

| Capability | Row | Relationships |
| --- | --- | --- |
| [`verify`](https://acs.synapti.ai/capabilities/verify/index.md) | Edges out of send | `precedes` (out of) |
| [`checkpoint`](https://acs.synapti.ai/capabilities/checkpoint/index.md) | Edges into send | `requires` (into), `precedes` (into) |
| [`constrain`](https://acs.synapti.ai/capabilities/constrain/index.md) | Edges into send | `soft_requires` (into), `precedes` (into) |

- `requires`: Must run after [`checkpoint`](https://acs.synapti.ai/capabilities/checkpoint/index.md)
- `soft_requires`: Recommended after [`constrain`](https://acs.synapti.ai/capabilities/constrain/index.md)
- `precedes`: Comes before, when both are present [`verify`](https://acs.synapti.ai/capabilities/verify/index.md)
- `precedes`: Comes after, when both are present [`checkpoint`](https://acs.synapti.ai/capabilities/checkpoint/index.md), [`constrain`](https://acs.synapti.ai/capabilities/constrain/index.md)

## Contract

**Figure: Contract of send: 3 inputs (2 required), 8 outputs.** send takes 3 inputs, 2 required (filled pin) and 1 optional (hollow pin), and returns 8 outputs. The tables below list every field.

### Inputs

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `destination` | string | Yes | Where the data goes, in the host's naming (a URL, an address, a queue or a channel); checked against the destination policies in force (Standard v1.2 §4.4.2) |
| `payload` | any | Yes | Data to send |
| `protocol` | string | No | Communication protocol |

### Outputs

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `sent` | boolean | Yes | Whether the destination accepted the data; a delivered transmission cannot be recalled (Standard v1.2 §4.4.2) |
| `response` | any | No | Response if any |
| `timestamp` | string | No | Format: date-time |
| `compensation` | object | No | How the transmission's effect can be compensated, in the form of world_state_schema.yaml TransitionRule.rollback; nothing performs it automatically (Standard v1.2 §4.4.2) |
| `compensation.strategy` | string | No |  |
| `compensation.inverse_effects` | array of string | No |  |
| `evidence_anchors` | array of Anchor (or deprecated string or object) | Yes | What the output is based on, as evidence anchors (Standard v1.2 §6.5). An empty list grounds nothing, and the output is then marked inferred (§3.1). |
| `confidence` | number | No | The producer's probability that the output's claim is correct, self-reported; given when the output is inferred (Standard v1.2 §3.1, §4.1.1) From 0 to 1 |
| `inference_method` | string | No | How the output was reached when it is not grounded in evidence; with confidence it marks the output inferred (Standard v1.2 §3.1, §4.1.1). A producer should use model_knowledge, deduction, induction, abduction, analogy, statistical, simulation, assumption or an x- vendor value; a grounding policy (§5.20) requires one of them. |
| `uncertainty` | Uncertainty | No | The uncertainty of the output's principal value; its confidence equals the output's confidence (Standard v1.2 §4.1.1) |

The skill returns 11 fields: 6 are in send's output contract (2 required) and 5 are the skill's own, outside the contract; it leaves out 2 contract fields (inference_method, uncertainty).

| Field of the skill's output | In the output contract |
| --- | --- |
| `sent` | Yes, required |
| `response` | Yes, optional |
| `timestamp` | Yes, optional |
| `message` | No, the skill's own |
| `delivery` | No, the skill's own |
| `constraints_applied` | No, the skill's own |
| `approval` | No, the skill's own |
| `compensation` | Yes, optional |
| `confidence` | Yes, optional |
| `evidence_anchors` | Yes, required |
| `assumptions` | No, the skill's own |
| `inference_method` | Yes, but the skill leaves it out |
| `uncertainty` | Yes, but the skill leaves it out |

## Used in workflows

No reference or domain workflow uses send yet.

## Claude Code skill

**Figure: What the send skill's tools can do, against the ontology.** The skill may use 3 tools: 2 only read and 1 run commands; the ontology marks send as changing state, and Bash can make the change.

| What they can do | Tools |
| --- | --- |
| Only read | `Read`, `Grep` |
| Run commands, which can change state | `Bash` |
| Change files | none |

**Figure: The field names each step of the send procedure uses.** 7 of the procedure's 8 steps use the name of an input or output field of the send skill as a word; 6 output fields of 11 are used by no step (timestamp, constraints_applied, compensation, confidence, evidence_anchors, assumptions).

| Step | Inputs it uses by name | Output fields it uses by name |
| --- | --- | --- |
| 1. Verify approval |  | `approval` |
| 2. Verify checkpoint |  |  |
| 3. Validate destination | `destination`, `protocol` | `approval` |
| 4. Apply constraints |  | `message` |
| 5. Prepare payload | `payload`, `protocol` | `message` |
| 6. Execute send | `destination`, `protocol` | `response`, `message` |
| 7. Verify delivery |  | `response`, `delivery` |
| 8. Audit trail |  | `sent` |

Both examples of the skill write out the same 10 of its 11 output fields, and neither writes out compensation.

**Figure: The neighbours the skill lists for send, checked against the ontology and the catalogs.** The skill lists 7 capabilities as common neighbours of send; 3 of them have an edge with it in the ontology, and 0 run next to it, in that order, in a catalog workflow. Under each tile, an edge reads from its source to its target, with send's symbol in its place: "requires Sn" is a requires edge from the tile's capability to send, so the tile's capability must run before send; "Sn precedes" is a precedes edge from send to the tile's capability.

| Listed as | Capability | Ontology edge | Next to it in a workflow |
| --- | --- | --- | --- |
| commonly follows | [`constrain`](https://acs.synapti.ai/capabilities/constrain/index.md) | `soft_requires`, `precedes` | never |
| commonly follows | [`checkpoint`](https://acs.synapti.ai/capabilities/checkpoint/index.md) | `requires`, `precedes` | never |
| commonly follows | [`plan`](https://acs.synapti.ai/capabilities/plan/index.md) | none | never |
| commonly follows | [`transform`](https://acs.synapti.ai/capabilities/transform/index.md) | none | never |
| commonly precedes | [`audit`](https://acs.synapti.ai/capabilities/audit/index.md) | none | never |
| commonly precedes | [`verify`](https://acs.synapti.ai/capabilities/verify/index.md) | `precedes` (into it) | never |
| commonly precedes | [`receive`](https://acs.synapti.ai/capabilities/receive/index.md) | none | never |

### Intent

Send a message, event, or payload to an external destination with full policy enforcement, approval gates, and audit trail. This capability handles external side effects that cannot be undone: the checkpoint before it restores the agent's own state, not the transmission, so a send is made safe before it happens (STANDARD v1.2 §4.4.2).

**CRITICAL: This capability requires explicit user approval before execution.**

**Success criteria:**
- Message delivered to destination successfully
- All policy constraints verified before sending
- Approval gate passed (explicit user confirmation)
- Complete audit trail of what was sent
- Delivery confirmation obtained where possible

**Compatible schemas:**
- `schemas/output_schema.yaml`

### Inputs

| Parameter | Required | Type | Description |
|-----------|----------|------|-------------|
| `destination` | Yes | string | Where the data goes, in the host's naming (a URL, an address, a queue or a channel); checked against the destination policies in force (STANDARD v1.2 §4.4.2) |
| `payload` | Yes | any | Data to send |
| `protocol` | No | string | Communication protocol (http, grpc, smtp, amqp, etc.) |

Inputs not listed here are outside the capability's contract: a workflow step that binds them gets W604 (STANDARD v1.1 §5.5).

### Procedure

1) **Verify approval**: Confirm explicit user approval exists
   - Check the approval is valid and recent
   - BLOCK send if approval is missing or expired
   - Log approval verification for audit

2) **Verify checkpoint**: Confirm recovery point exists
   - Validate that a checkpoint was created before this send
   - BLOCK send if checkpoint is missing
   - The checkpoint restores the agent's own state, not the transmission (§4.4.2): once delivered, the data cannot be recalled, and a later rollback reports the send as `not_covered` (`transmitted`)

3) **Validate destination**: Ensure the destination is permitted
   - Where a destination policy is in force (the host's, or an applied profile's `allowed_destinations`), code checks it before approval and refuses a destination it does not allow (F504, STANDARD v1.2 §4.4.2); never try another destination to get around a refusal
   - In a workflow, a `constrain` step with the destination as `target` records the check, and the approval `shows` the destination (§12.5, Guarded Send)
   - Verify destination format matches protocol

4) **Apply constraints**: Enforce policy limits
   - Check rate limits have not been exceeded
   - Verify message size within bounds
   - Validate message format against schema
   - Apply `constrain` capability rules

5) **Prepare payload**: Format message for transmission
   - Serialize according to protocol requirements
   - Add required headers/metadata
   - Generate message ID for tracking
   - Record payload summary (not full content if sensitive)

6) **Execute send**: Transmit to destination
   - Use appropriate protocol handler
   - Pass the pass's idempotency key to a destination that accepts one (an `Idempotency-Key` header, a message de-duplication id)
   - Capture response or confirmation
   - Handle timeouts gracefully
   - Retry: a retry carries the same idempotency key; never transmit twice under one key; when unsure whether an earlier attempt delivered, do not send again (report `outcome_unknown`, §4.4.2)

7) **Verify delivery**: Confirm successful transmission
   - Check response status/acknowledgment
   - Log delivery confirmation
   - Capture any error responses

8) **Audit trail**: Record complete send operation
   - What was sent (summary, not sensitive content)
   - Where it was sent
   - When it was sent
   - Delivery status
   - Approval reference

### Output Contract

Return a structured object:

```yaml
sent: boolean  # true when the transport accepted the message (delivery.status sent or queued)
response: any  # Recipient's response or delivery receipt, if any
timestamp: string  # ISO 8601 date-time of send
message:
  destination: string  # Where message was sent
  payload_type: string  # Type of content sent
  payload_summary: string  # Non-sensitive summary of payload
  message_id: string | null  # Tracking ID if available
delivery:
  status: sent | queued | failed  # Delivery outcome
  retry_count: integer  # Number of retry attempts
  response_code: integer | null  # HTTP status or protocol response
  error: string | null  # Error message if failed
constraints_applied:
  - constraint: string  # What constraint was checked
    enforced: boolean  # Whether it passed
    details: string | null  # Additional context
approval:
  token: string  # Approval token used
  timestamp: string  # When approval was given
  scope: string  # What was approved
compensation:  # How the effect can be compensated, if known; nothing performs it automatically (§4.4.2)
  strategy: string
  inverse_effects: array[string]
confidence: number  # probability that the message was delivered as reported (§4.1.1)
evidence_anchors: [{ref: "sent:<idempotency_key>", kind: record}, {ref: "log:timestamp", kind: log}, {ref: "api:response", kind: api}]  # a message sent is grounded by its record, under the pass's idempotency key (STANDARD v1.2 §3.1)
assumptions: []  # Explicit assumptions
```

#### Field Definitions

| Field | Type | Description |
|-------|------|-------------|
| `sent` | boolean | Whether the message was sent (accepted by the transport) |
| `response` | any | Recipient's response or delivery receipt, or null |
| `timestamp` | string | ISO 8601 date-time of send |
| `message` | object | Details of what was sent (destination, payload type, non-sensitive summary, message ID) |
| `delivery` | object | Outcome of send operation |
| `constraints_applied` | array | Policy checks performed |
| `approval` | object | Approval gate information |
| `compensation` | object | How the transmission's effect can be compensated (`strategy`, `inverse_effects`), in the form of `TransitionRule.rollback`; a workflow that compensates does so in a send of its own (§4.4.2) |
| `confidence` | number | Probability, 0.0-1.0, that the message was delivered as reported (§4.1.1) |
| `evidence_anchors` | array of evidence anchors (§6.5) | Logs, responses, confirmations |
| `assumptions` | array | Explicit assumptions (e.g., "network stable") |

### Examples

#### Example 1: API Webhook Notification

**Input:**
```yaml
destination: "https://api.partner.com/webhooks/order-updates"
payload:
  event: "order.completed"
  order_id: "ORD-12345"
  timestamp: "2024-01-15T10:30:00Z"
  customer_notified: true
protocol: "http"
```

Approval and the checkpoint come from the workflow (an approved step after a `checkpoint` step), not from inputs. A preceding `constrain` step enforces the policy: at most 100 sends per hour, to `api.partner.com` only.

**Output:**
```yaml
sent: true
response:
  received: true
timestamp: "2024-01-15T10:30:15Z"
message:
  destination: "https://api.partner.com/webhooks/order-updates"
  payload_type: "order.completed event"
  payload_summary: "Order completion notification for ORD-12345"
  message_id: "msg-abc123"
delivery:
  status: sent
  retry_count: 0
  response_code: 200
  error: null
constraints_applied:
  - constraint: "rate_limit: 100/hour"
    enforced: true
    details: "Current rate: 45/hour"
  - constraint: "destination policy (STANDARD v1.2 §4.4.2)"
    enforced: true
    details: "https://api.partner.com/webhooks/* allows it"
approval:
  token: "approve-send-2024-01-15-001"
  timestamp: "2024-01-15T10:30:00Z"
  scope: "Send order notification to partner API"
confidence: 0.95
evidence_anchors:
  - {ref: "sent:run-4f2a:7", kind: record}
  - {ref: "log:2024-01-15T10:30:15Z:send-success", kind: log}
  - {ref: "api:response:200-OK", kind: api}
assumptions:
  - "Partner API is available and processing webhooks"
```

**Evidence pattern:** HTTP response code and body confirmation, timestamped log entry.

---

#### Example 2: Email Notification (with failure)

**Input:**
```yaml
destination: "smtp://mail.company.com:587"
payload:
  to: "user@example.com"
  subject: "Action Required: Review pending"
  body: "You have 3 items awaiting review..."
protocol: "smtp"
```

**Output:**
```yaml
sent: false
response: null
timestamp: "2024-01-15T11:00:05Z"
message:
  destination: "smtp://mail.company.com:587"
  payload_type: "email"
  payload_summary: "Email to user@example.com regarding pending review"
  message_id: null
delivery:
  status: failed
  retry_count: 3
  response_code: null
  error: "Connection timeout after 30s - SMTP server unreachable"
constraints_applied:
  - constraint: "recipient_validation"
    enforced: true
    details: "Email format valid"
approval:
  token: "approve-email-2024-01-15-002"
  timestamp: "2024-01-15T11:00:00Z"
  scope: "Send review notification email"
confidence: 0.0
evidence_anchors:
  - {ref: "log:2024-01-15T11:00:05Z:smtp-timeout", kind: log}
  - {ref: "error:connection-refused", kind: tool}
assumptions:
  - "SMTP server should be available on port 587"
next_actions:
  - "Verify SMTP server status"
  - "Check network connectivity"
  - "Retry with backup mail server if available"
```

### Verification

- [ ] Approval token is valid and not expired
- [ ] Checkpoint reference exists
- [ ] Destination passes policy validation
- [ ] All constraints were checked before send
- [ ] Delivery status is accurately reported
- [ ] Audit trail is complete

**Verification tools:** Read (for logs), Bash (for health checks)

### Safety Constraints

- `mutation`: true
- `requires_checkpoint`: true
- `requires_approval`: true
- `risk`: high

**Capability-specific rules:**
- NEVER send without explicit user approval (CRITICAL)
- NEVER send without a valid checkpoint reference
- ALWAYS validate destination against policy before sending
- ALWAYS log what was sent for audit (sanitize sensitive data)
- DO NOT retry indefinitely - respect retry limits
- BLOCK sends to destinations the destination policy does not allow, where one is in force (code refuses them with F504, §4.4.2)
- NEVER transmit twice under one idempotency key; when unsure whether an earlier attempt delivered, do not send again
- If approval token is missing, REQUEST approval before proceeding
- Never send credentials, API keys, or secrets in payloads

**APPROVAL GATE REQUIREMENT:**
Before any send operation, the user must explicitly approve:
1. What will be sent (summary)
2. Where it will be sent (destination)
3. Why it is being sent (context)

The approval must be captured with a token that is recorded in this operation's audit trail.

### Composition Patterns

**Commonly follows:**
- `constrain` - Apply policy limits before sending (recommended; warning W601 if no constrain step runs first)
- `checkpoint` - Create recovery point before external send (REQUIRED)
- `plan` - Sends are typically part of a larger plan
- `transform` - Format data before sending

**Commonly precedes:**
- `audit` - Record what was sent for compliance
- `verify` - Confirm delivery where possible
- `receive` - May expect response from destination

**Anti-patterns:**
- NEVER send without `constrain` check (policy bypass)
- NEVER send without `checkpoint` (no state recovery)
- NEVER send without explicit approval (unauthorized action)
- NEVER retry failed sends indefinitely (resource exhaustion)

**Workflow references:**
- See `reference/composition_patterns.md#anti-patterns` for send safety rules
- See `reference/composition_patterns.md#digital-twin-sync-loop` for send in sync context
