We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 483799e commit 2b38a3fCopy full SHA for 2b38a3f
src/transports/dryModeRunner.ts
@@ -39,10 +39,12 @@ export class DryRunModeRunner extends TransportRunnerBase {
39
}
40
41
private dumpTools(): void {
42
- const tools = this.server?.tools.map((tool) => ({
43
- name: tool.name,
44
- category: tool.category,
45
- }));
+ const tools = this.server?.tools
+ .filter((tool) => tool.isEnabled())
+ .map((tool) => ({
+ name: tool.name,
46
+ category: tool.category,
47
+ }));
48
this.consoleLogger.log("Enabled tools:");
49
this.consoleLogger.log(JSON.stringify(tools, null, 2));
50
0 commit comments