Send task completion notification
notify_task_completeSends task completion notifications to system and configured webhook targets with status, summary, and duration details so users can track task outcomes.
Instructions
Send task completion notifications to system and configured webhook targets.
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": {
"task_name": "<task_name>"
},
"name": "notify_task_complete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | Task completion status. Default: success. | |
| target | No | Target channels, e.g. ["system", "feishu", "wecom"]. Default: ["system"]. | |
| summary | No | Optional summary text for the notification body. | |
| task_name | Yes | Task name. | |
| duration_sec | No | Optional task duration in seconds. | |
| webhook_payloads | No | Optional per-target payload override for webhook targets. | |
| webhook_timeout_ms | No | Webhook request timeout in milliseconds. Default: MCELL_NOTIFY_WEBHOOK_TIMEOUT_MS or 10000. |