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 bbb7528 commit 25c6d20Copy full SHA for 25c6d20
fastapi_mcp/server.py
@@ -259,7 +259,7 @@ async def _execute_api_tool(
259
# TODO: Better typing for the AsyncClientProtocol. It should return a ResponseProtocol that has a json() method that returns a dict/list/etc.
260
try:
261
result = response.json()
262
- result_text = json.dumps(result, indent=2)
+ result_text = json.dumps(result, indent=2, ensure_ascii=False)
263
except json.JSONDecodeError:
264
if hasattr(response, "text"):
265
result_text = response.text
0 commit comments