Skip to content

Commit 12a87c4

Browse files
committed
Reword roots schema description
1 parent 62234f7 commit 12a87c4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pkgs/dart_mcp_server/lib/src/utils/cli_utils.dart

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,10 +285,11 @@ ListSchema rootsSchema({bool supportsPaths = false}) => Schema.list(
285285
);
286286

287287
final rootSchema = Schema.string(
288-
title: 'The URI of the project root to run this tool in.',
288+
title: 'The file URI of the project root to run this tool in.',
289289
description:
290290
'This must be equal to or a subdirectory of one of the roots '
291-
'returned by a call to "listRoots".',
291+
'allowed by the client. Must be a URI with a `file:` '
292+
'scheme (e.g. file:///absolute/path/to/root).',
292293
);
293294

294295
/// Very thin extension type for a pubspec just containing what we need.

0 commit comments

Comments
 (0)