diff options
| author | Olcan <[email protected]> | 2025-05-30 14:12:51 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-05-30 14:12:51 -0700 |
| commit | 4225567303a67ba1dec4e5b558df30265926e079 (patch) | |
| tree | 5781c249b2a1e1e11fe66b2776672bba40fc3417 /packages/server/src | |
| parent | 1a5fd2ccb2c96931921dfddbc64639ddf946980c (diff) | |
disable markdown for discovered (mcp) tools (#630)
Diffstat (limited to 'packages/server/src')
| -rw-r--r-- | packages/server/src/tools/mcp-tool.ts | 9 | ||||
| -rw-r--r-- | packages/server/src/tools/tool-registry.ts | 9 |
2 files changed, 16 insertions, 2 deletions
diff --git a/packages/server/src/tools/mcp-tool.ts b/packages/server/src/tools/mcp-tool.ts index 05ad750c..2a561179 100644 --- a/packages/server/src/tools/mcp-tool.ts +++ b/packages/server/src/tools/mcp-tool.ts @@ -27,7 +27,14 @@ When called, this tool will invoke the \`tools/call\` method for tool name \`${n MCP servers can be configured in project or user settings. Returns the MCP server response as a json string. `; - super(name, name, description, parameterSchema); + super( + name, + name, + description, + parameterSchema, + false, // isOutputMarkdown + false, // canUpdateOutput + ); } async execute(params: ToolParams): Promise<ToolResult> { diff --git a/packages/server/src/tools/tool-registry.ts b/packages/server/src/tools/tool-registry.ts index a2677e63..e241ada5 100644 --- a/packages/server/src/tools/tool-registry.ts +++ b/packages/server/src/tools/tool-registry.ts @@ -38,7 +38,14 @@ Error: Error or \`(none)\` if no error was reported for the subprocess. Exit Code: Exit code or \`(none)\` if terminated by signal. Signal: Signal number or \`(none)\` if no signal was received. `; - super(name, name, description, parameterSchema); + super( + name, + name, + description, + parameterSchema, + false, // isOutputMarkdown + false, // canUpdateOutput + ); } async execute(params: ToolParams): Promise<ToolResult> { |
