mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-20 16:57:46 +00:00
disable markdown for discovered (mcp) tools (#630)
This commit is contained in:
@@ -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> {
|
||||
|
||||
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user