Update a Live Activity
update_live_activityPush new content state to a running Live Activity. A new title is stored and returned by list_live_activities but the Lock Screen keeps the original — it is frozen at start.
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": {
"externalActivityId": "<externalActivityId>"
},
"name": "update_live_activity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| icon | No | New SF Symbol name. `null` falls back to the one `kind` implies. | |
| unit | No | New unit. `null` removes it. | |
| alert | No | Sends this one push as a visible notification. For state changes worth interrupting someone for — finished, failed — and nothing else; it does not rename the activity. | |
| chart | No | The whole current window, replacing the last one. `null` removes the plot. | |
| items | No | The complete row list, replacing what is there. `[]` or `null` returns the activity to its top-level fields and lets a `chart` show again. | |
| state | No | Where the run is up to now. | |
| title | No | Accepted and stored, but it does NOT change the running activity: the title is frozen when it starts. Leave it out of updates. | |
| value | No | New headline display string. `null` removes it. | |
| endsAt | No | A new expected finish. `null` removes the countdown, and takes `countdownGranularity` with it. | |
| signal | No | New contextual signal for the activity shell. `null` returns to the kind's normal accent. | |
| staleAt | No | New stale time. Send it on every update, a little past when you next expect to publish, so the activity marks itself out of date if this is the last update you send. `null` removes it, which leaves a stalled activity looking current — only do that on the way to `end`. | |
| progress | No | New progress, 0-1. `null` removes the bar — which is what a run that has finished should send. | |
| subtitle | No | New prose under the title. `null` removes it. | |
| statusIcon | No | New runtime glyph. `null` removes it — which is what an activity that has stopped doing the thing should send. | |
| relevanceScore | No | New Smart Stack ranking. Spike it on the finishing update so the wrist surfaces it. | |
| externalActivityId | Yes | The id you started the activity with. | |
| countdownGranularity | No | How the countdown reads. Omitted, the activity keeps its current setting. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| warnings | Yes | Advisory notes about how this activity will RENDER, on a call that otherwise succeeded. Empty when there is nothing to say. These never affect whether the request worked; act on them anyway, because the operator's Lock Screen is the one thing you cannot look at. | |
| apnsResult | Yes | ||
| staleAtPushed | Yes | The stale date THIS push carried, not the one stored. `null` means this push set none, so nothing marks the activity out of date if you stop here — send `staleAt` on the next one. | |
| pendingUpdated | Yes | True when the new state was stored but no device holds a token for this activity yet, so nothing was pushed. A device that registers later is sent the current state then, so nothing needs re-sending. | |
| recipientResults | Yes | ||
| registeredDevices | Yes | How many of the operator's devices hold a token for this activity and were pushed this update. Set it against `pushToStartAttempted`: the difference is devices that were sent the start and have not registered it. | |
| activityInstanceId | Yes | ||
| secondsSincePreviousUpdate | Yes | How long this activity spent showing its previous state. There is no error for going quiet — every call you make answers 200 and the ones you skip return nothing — so this is the signal that you have. If it is larger than the work between updates should take, the operator has been reading a stale Lock Screen as current. |