long_running_task
Simulate long-running workloads with configurable timeouts and periodic progress updates, preventing client disconnects during healthy execution.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | ||
| timeout_ms | No | Deadline for the task in milliseconds. Clients override this per call to match the expected workload. | |
| work_duration_ms | No | How long the simulated work should run, in milliseconds. If this exceeds timeout_ms the worker is cooperatively cancelled. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |