codeant-ai-for-open-source[bot] commented on PR #38775:
URL: https://github.com/apache/superset/pull/38775#issuecomment-4100153294
## **Sequence Diagram**
This PR updates the search transform call proxy so it checks the target tool
schema before forwarding arguments. When a parameter accepts both string and
object forms, dict or list values are serialized to JSON text to avoid
transport encoding failures.
```mermaid
sequenceDiagram
participant Client
participant CallToolProxy
participant MCPServer
participant TargetTool
Client->>CallToolProxy: call_tool with name and arguments
CallToolProxy->>MCPServer: Fetch target tool schema
MCPServer-->>CallToolProxy: Return parameter schema
CallToolProxy->>CallToolProxy: Normalize mixed type fields to JSON text
CallToolProxy->>MCPServer: Forward normalized tool call
MCPServer->>TargetTool: Execute requested tool
TargetTool-->>MCPServer: Tool result
MCPServer-->>Client: Return tool response
```
---
*Generated by [CodeAnt AI](https://codeant.ai)*
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]