Execute MCP JSON-RPC call
Executes a JSON-RPC method on the MCP server endpoint.
WiseApp also provides an opt-in multipart HTTP transport extension for local files. Send the complete JSON-RPC request
in the payload part and one or more files as attachments[]. Multipart uploads are accepted only for
tools/call requests targeting conversation_message_send, its legacy alias, or outbound_messages_create.
Outbound messages accept one file; conversation messages retain their normal attachment limit. Generic MCP
clients do not automatically support this extension.
The outbound_messages_create tool also advertises _meta["openai/fileParams"] for ChatGPT’s native file
picker. JSON clients can provide exactly one file descriptor with a temporary HTTPS download_url and
file_id, a file_base64 object, or an existing signed ID. Temporary URLs are downloaded through SafeFetch
with HTTPS-only redirects, SSRF protection, and upload-size validation. Invalid, expired, or byte-less signed
IDs return 422 invalid_attachment before provider delivery.