update_activity
Update a live activity with a new title, subtitle, step progress, and optional color to reflect changes in real-time.
Instructions
Update an activity with a title and message
Args: activity_id (str): The ID of the activity to update title (str): The title to show when the activity is updated subtitle (str): The subtitle to show when the activity is updated current_step (int): The current step to show when the activity is updated 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": "update_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 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||