longRunningOperation
Execute extended operations with real-time progress tracking. Configure duration and step count to monitor task completion through notifications.
Instructions
Demonstrates a long-running operation with progress notifications.
Args: duration: Total duration of the operation in seconds (default: 10) steps: Number of progress steps to report (default: 5)
Returns: Completion message with duration and steps info
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "longRunningOperation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| duration | No | ||
| steps | No | ||
| ctx | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |