Process steps
process_stepsRuns a small staged operation to demonstrate MCP progress notifications and cancellation, helping test client handling of step updates and cancellation.
Instructions
Run a small staged operation that demonstrates MCP progress notifications and cancellation.
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": {
"steps": "<steps>"
},
"name": "process_steps"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | Yes | Number of steps to process | |
| delayMs | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | Yes | ||
| cancelled | Yes | ||
| completed | Yes |