Skip to content

[BUG] In the MCP tool, converting the JSON request to text format (with added '\n' characters) reduces readability." #9330

@humble-learner

Description

@humble-learner

Problem (one or two sentences)

Version:3.32.1 (b0f51b9)
The MCP tool converts the generated JSON request into a text format with \n characters, but the current implementation reduces readability due to improper line breaks or lack of indentation.

Context (who is affected and when)

Version:3.32.1 (b0f51b9)
The MCP tool converts the generated JSON request into a text format with \n characters, but the current implementation reduces readability due to improper line breaks or lack of indentation.

Reproduction steps

  1. Use Mcp tool generate json request

Expected result

display json not text

Actual result

display text

Variations tried (optional)

No response

App Version

3.32.1

API Provider (optional)

None

Model Used (optional)

No response

Roo Code Task Links (optional)

No response

Relevant logs or errors (optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue/PR - TriageNew issue. Needs quick review to confirm validity and assign labels.bugSomething isn't working

    Type

    No type

    Projects

    Status

    Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions