Function
progress
Send a bidirectional notifications/progress notification
Progress notifications inform the recipient about the status of long-running operations. They include:
- token: Identifies which operation this progress is for
- progress: Current progress value
- total: Optional total value (for percentage calculation)
- message: Optional human-readable status message
Progress notifications are advisory - recipients may ignore them without affecting operation correctness.
https://spec.modelcontextprotocol.io/specification/basic/utilities/progress
progress: func(output: borrow<output-stream>, token: progress-token, progress: f64, total: option<f64>, message: option<string>) -> result<_, notification-error>;