PluginProbe
ZIP AI – AI Website Builder & AI Agent (Beta) / 0.0.8
ZIP AI – AI Website Builder & AI Agent (Beta) v0.0.8
0.0.10 0.0.9 trunk 0.0.4 0.0.5 0.0.6 0.0.7 0.0.8
zip-ai / lib / php-mcp-schema / src / Common / JsonRpc / Union / JSONRPCMessageInterface.php

JSONRPCMessageInterface.php in ZIP AI – AI Website Builder & AI Agent (Beta) 0.0.8, at lib/php-mcp-schema/src/Common/JsonRpc/Union/JSONRPCMessageInterface.php

28 lines 530 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 declare(strict_types=1);
4
5 namespace WP\McpSchema\Common\JsonRpc\Union;
6
7 /**
8 * Refers to any valid JSON-RPC object that can be decoded off the wire, or encoded to be sent.
9 *
10 * Union type members:
11 * - JSONRPCRequest
12 * - JSONRPCNotification
13 * - JSONRPCResponse
14 *
15 * @mcp-domain Common
16 * @mcp-subdomain JsonRpc
17 * @mcp-version 2025-11-25
18 */
19 interface JSONRPCMessageInterface
20 {
21 /**
22 * Converts the instance to an array.
23 *
24 * @return array<string, mixed>
25 */
26 public function toArray(): array;
27 }
28