syncky_send
Sends caller-owned JSON messages to a confirmed phone through Syncky Health, or validates them first without sending. Use it to deliver policy-checked health messages and check send receipts.
Instructions
Send caller-owned JSON to one confirmed phone; use syncky_skill for rules and syncky_inbox to read replies. Scope releases need no owner approval. Obtain owner approval for writes, diagnostics and access requests. Writes use the owner's standing per-type allowance. The phone enforces policy and consent; sent means relay delivery only. Returns a send receipt or, with validate set to true, valid: true without sending. Pending sends retry while receive runs; check state and hint, then outbox counts and sends receipts in syncky_status.
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": {
"type": "<type>",
"inner": "<inner>"
},
"name": "syncky_send"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Target confirmed phone's member ID string, e.g. m_dev_1. Sending without a target requires exactly one eligible confirmed phone. Validation alone needs no target. | |
| type | Yes | Message type string, e.g. 'access_request'; must equal the `type` field inside `inner`. | |
| inner | Yes | Caller-owned inner JSON message object, including its required `type` string and the message fields defined by the current skill. | |
| validate | No | Default false. Set true to validate only against available local message schemas. It sends nothing. Real sends of access_request and scope_release always validate. Validation does not grant approval or permission. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Recipient member IDs; currently one confirmed phone. | |
| seq | No | Relay sequence assigned on delivery, when available. | |
| code | No | Local queue or tool failure code; null when cleared on delivery. | |
| hint | No | Fixed guidance for a queued retry, terminal failure or tool error, when available. | |
| kind | No | Outgoing envelope kind. | |
| type | No | Caller-supplied message type. | |
| state | No | Pending is queued, sent is relay delivery only, failed is terminal. | |
| types | No | Validated type names associated with a local error detail, when available. | |
| valid | No | Local validation succeeded. Nothing was sent. | |
| detail | No | Safe local error detail code, when available. | |
| msg_id | No | Sealed message ID used to track this send. | |
| attempts | No | Number of relay delivery attempts so far. | |
| relay_code | No | Normalized relay or client failure cause, when available. | |
| relay_status | No | Relay HTTP status, or 0 when no HTTP status is available. | |
| next_attempt_at | No | Next attempt time: Unix milliseconds (0 means due), or a stored date-time string. | |
| retry_after_until | No | Relay retry floor in Unix milliseconds; 0 means no active floor. |