| 1: | <?php |
| 2: | |
| 3: | declare(strict_types=1); |
| 4: | |
| 5: | /** |
| 6: | * This file is part of the Nexus MCP SDK package. |
| 7: | * |
| 8: | * (c) 2026 John Paul E. Balandan, CPA <paulbalandan@gmail.com> |
| 9: | * |
| 10: | * For the full copyright and license information, please view |
| 11: | * the LICENSE file that was distributed with this source code. |
| 12: | */ |
| 13: | |
| 14: | namespace Nexus\Mcp\Core\Schema\Enum; |
| 15: | |
| 16: | /** |
| 17: | * Controls whether and how MCP servers should be consulted for context to be |
| 18: | * attached to a sampling prompt. |
| 19: | * |
| 20: | * @see https://github.com/modelcontextprotocol/modelcontextprotocol/blob/main/schema/2025-11-25/schema.ts |
| 21: | */ |
| 22: | enum IncludeContext: string |
| 23: | { |
| 24: | /** |
| 25: | * Include context from every connected MCP server. |
| 26: | */ |
| 27: | case AllServers = 'allServers'; |
| 28: | |
| 29: | /** |
| 30: | * Send no server-supplied context with the prompt. |
| 31: | */ |
| 32: | case None = 'none'; |
| 33: | |
| 34: | /** |
| 35: | * Include context only from the requesting server. |
| 36: | */ |
| 37: | case ThisServer = 'thisServer'; |
| 38: | } |
| 39: |