| 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: | * Indicates the type of a `Result` object, allowing the client to |
| 18: | * determine how to parse the response. |
| 19: | * |
| 20: | * complete - the request completed successfully and the result contains the final content. |
| 21: | * input_required - the request requires additional input and the result contains an `InputRequiredResult` |
| 22: | * object with instructions for the client to provide additional input before retrying the original request. |
| 23: | * |
| 24: | * @see https://modelcontextprotocol.io/specification/draft/schema#resulttype |
| 25: | */ |
| 26: | enum ResultType: string |
| 27: | { |
| 28: | case Complete = 'complete'; |
| 29: | case InputRequired = 'input_required'; |
| 30: | } |
| 31: |