ameliabooking
/
vendor
/
wordpress
/
php-mcp-schema
/
src
/
Common
/
Protocol
/
Union
/
ClientRequestInterface.php
ameliabooking
/
vendor
/
wordpress
/
php-mcp-schema
/
src
/
Common
/
Protocol
/
Union
Last commit date
ClientNotificationInterface.php
1 month ago
ClientRequestInterface.php
1 month ago
ContentBlockInterface.php
1 month ago
SamplingMessageContentBlockInterface.php
1 month ago
ServerRequestInterface.php
1 month ago
ClientRequestInterface.php
40 lines
| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace WP\McpSchema\Common\Protocol\Union; |
| 6 | |
| 7 | /** |
| 8 | * Union type members: |
| 9 | * - PingRequest |
| 10 | * - InitializeRequest |
| 11 | * - CompleteRequest |
| 12 | * - SetLevelRequest |
| 13 | * - GetPromptRequest |
| 14 | * - ListPromptsRequest |
| 15 | * - ListResourcesRequest |
| 16 | * - ListResourceTemplatesRequest |
| 17 | * - ReadResourceRequest |
| 18 | * - SubscribeRequest |
| 19 | * - UnsubscribeRequest |
| 20 | * - CallToolRequest |
| 21 | * - ListToolsRequest |
| 22 | * - GetTaskRequest |
| 23 | * - GetTaskPayloadRequest |
| 24 | * - ListTasksRequest |
| 25 | * - CancelTaskRequest |
| 26 | * |
| 27 | * @mcp-domain Common |
| 28 | * @mcp-subdomain Protocol |
| 29 | * @mcp-version 2025-11-25 |
| 30 | */ |
| 31 | interface ClientRequestInterface |
| 32 | { |
| 33 | /** |
| 34 | * Converts the instance to an array. |
| 35 | * |
| 36 | * @return array<string, mixed> |
| 37 | */ |
| 38 | public function toArray(): array; |
| 39 | } |
| 40 |