End a Live Activity
end_live_activityEnd a running Live Activity with a final frame. Always end what you start. This cannot be undone: an ended activity cannot be resumed, only replaced by starting a new one, which the user sees as the old one dismissing and a new one animating in.
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": "end_live_activity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| finalUnit | No | Unit after `finalValue`. Omitted keeps the current unit; `null` removes it. | |
| finalChart | No | The final plot window. Omitted keeps the current chart, which is usually worth keeping — the history is still true once the work is done; `null` removes it. | |
| finalItems | No | The complete final row list. Omitted keeps the current rows; `[]` or `null` removes them. | |
| finalState | No | The last state text. Defaults to "finished". | |
| finalValue | No | Headline on the final frame — "3/3". Omitted keeps the current value; `null` removes it. | |
| finalEndsAt | No | Send `null` to remove the countdown: a finished activity otherwise keeps it, and the Lock Screen timer counts up past zero until the frame is dismissed. It does not control dismissal — `dismissalDate` does. | |
| finalSignal | No | Contextual signal for the final frame. Omitted keeps the current signal; `null` clears it. | |
| dismissalDate | No | Keeps the final frame on the Lock Screen until this time, within Apple's four-hour window. Omitted, the activity is dismissed immediately. | |
| finalProgress | No | Progress on the final frame: `1` for a run that completed, `null` to remove the bar. Omitted keeps the current progress, which is right for a run cancelled part-way. | |
| finalSubtitle | No | What happened, on the last frame — "passed in 4m 12s". There is no `finalTitle`, because the title is frozen, so say it here. | |
| finalStatusIcon | No | Runtime glyph on the final frame. `null` removes it, which is what an activity that has stopped doing the thing should send. | |
| externalActivityId | Yes | The id you started the activity with. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| apnsResult | Yes | ||
| recipientResults | Yes |