All checks were successful
OpenWebUI Discord Bot / Build-and-Push (push) Successful in 53s
The /mcp/call_tool endpoint expects JSON-RPC 2.0 format requests.
Updated to send proper RPC structure and parse RPC responses.
Request format:
{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "tool_name",
"arguments": {...}
},
"id": 1
}
Response parsing updated to extract result from JSON-RPC envelope:
result.result.content[0].text
This fixes the 400 validation error:
"Field required: JSONRPCRequest.method, jsonrpc, id"
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
22 KiB
22 KiB