longRunningTool static method
Long-running tool with progress
Implementation
static Map<String, dynamic> longRunningTool({
int? estimatedDuration,
String? category,
}) => ToolAnnotationUtils.builder()
.supportsProgress()
.supportsCancellation()
.estimatedDuration(estimatedDuration ?? 300) // 5 minutes default
.category(category ?? 'processing')
.build();