Skip to content

Commit 6c7eae5

Browse files
committed
fix(run_manifest_validation): Mark the tool as read-only
1 parent 95c3527 commit 6c7eae5

File tree

2 files changed

+2
-2
lines changed
  • src/tools/run_manifest_validation
  • test/lib/tools/run_manifest_validation

2 files changed

+2
-2
lines changed

src/tools/run_manifest_validation/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export default function registerTool(registerTool: RegisterTool, context: Contex
1515
"to verify that no new problems have been introduced.",
1616
annotations: {
1717
title: "Manifest Validation",
18-
readOnlyHint: false,
18+
readOnlyHint: true,
1919
},
2020
inputSchema,
2121
outputSchema,

test/lib/tools/run_manifest_validation/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ test("registerRunManifestValidationTool registers the tool with correct paramete
7474
t.true(toolConfig?.title?.includes("Manifest Validation"));
7575
t.true(toolConfig?.description?.includes("Validates UI5 manifest file"));
7676
t.is(toolConfig?.annotations?.title, "Manifest Validation");
77-
t.false(toolConfig?.annotations?.readOnlyHint);
77+
t.true(toolConfig?.annotations?.readOnlyHint);
7878
});
7979

8080
test("run_manifest_validation tool returns validation result on success", async (t) => {

0 commit comments

Comments
 (0)