disable markdown for discovered (mcp) tools (#630)

This commit is contained in:
Olcan 2025-05-30 14:12:51 -07:00 committed by GitHub
parent 1a5fd2ccb2
commit 4225567303
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 16 additions and 2 deletions

View File

@ -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> {

View File

@ -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> {