diff --git a/pkgs/dart_mcp/CHANGELOG.md b/pkgs/dart_mcp/CHANGELOG.md index 6aa82d61..295e3cce 100644 --- a/pkgs/dart_mcp/CHANGELOG.md +++ b/pkgs/dart_mcp/CHANGELOG.md @@ -1,6 +1,8 @@ ## 0.3.4-wip - Update the tool calling example to include progress notifications. +- Remove a reference to "screenshot" for a generic error that occurs for more + than just screenshots. ## 0.3.3 diff --git a/pkgs/dart_mcp_server/lib/src/mixins/dtd.dart b/pkgs/dart_mcp_server/lib/src/mixins/dtd.dart index 044af1a2..d1ec2046 100644 --- a/pkgs/dart_mcp_server/lib/src/mixins/dtd.dart +++ b/pkgs/dart_mcp_server/lib/src/mixins/dtd.dart @@ -1031,9 +1031,7 @@ base mixin DartToolingDaemonSupport )..failureReason = CallToolFailureReason.dtdAlreadyConnected; static final _noActiveDebugSession = CallToolResult( - content: [ - TextContent(text: 'No active debug session to take a screenshot'), - ], + content: [TextContent(text: 'No active debug session.')], isError: true, )..failureReason = CallToolFailureReason.noActiveDebugSession;