end_activity
End a live activity by specifying its ID, title, subtitle, and current step, with optional auto-dismiss time and color settings.
Instructions
End an activity with a title and message
Args: activity_id (str): The ID of the activity to end title (str): The title to show when the activity ends subtitle (str): The subtitle to show when the activity ends current_step (int): The current step to show when the activity ends auto_dismiss_minutes (int, optional): The number of minutes after which the activity will be automatically dismissed. Defaults to 2. color (str, optional): The color to show when the activity ends. Defaults to "blue". current_step_color (str, optional): The color of the current step to show when the activity ends. Defaults to "blue".
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": {
"activity_id": "<activity_id>",
"title": "<title>",
"subtitle": "<subtitle>",
"current_step": "<current_step>"
},
"name": "end_activity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | blue | |
| title | Yes | ||
| subtitle | Yes | ||
| activity_id | Yes | ||
| current_step | Yes | ||
| current_step_color | No | blue | |
| auto_dismiss_minutes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||