-
Sub-task
-
Resolution: Done
-
Undefined
-
None
-
None
-
True
-
False
-
-
Operation patch fail in Lightspeed
2025-10-22 09:25:02,692 [ols.src.query_helpers.docs_summarizer:docs_summarizer.py:330] INFO: { "event": "tool_call", "tool_name": "istio_object_patch", "arguments": { "name": "ratings", "version": "v1", "namespace": "bookinfo", "kind": "VirtualService", "group": "networking.istio.io", "json_patch": "[{\"op\": \"remove\", \"path\": \"/spec/http/0/fault\"}]" }, "tool_id": "function-call-8419197850110680954" }
It seems that json_patch is not escaped correctly, due throw an error in the MCP and this is working in other providers like claude
2025-10-22 09:25:02,733 [ols.src.tools.tools:tools.py:54] ERROR: Error executing tool 'istio_object_patch': failed to patch Istio object: kiali API error: {"error":"error decoding patch: json: cannot unmarshal array into Go value of type map[string]interface {}"} Traceback (most recent call last): File "/app-root/ols/src/tools/tools.py", line 43, in execute_tool_call tool_output = await tool.arun(tool_args) # type: ignore [attr-defined] ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/langchain_core/tools/base.py", line 996, in arun raise error_to_raise File "/usr/local/lib/python3.11/site-packages/langchain_core/tools/base.py", li
Logs
lightspeed-app-server-6958775db5-hw8xh-lightspeed-service-api.log![]()
- links to