<?php

/*
 * This file is part of the official PHP MCP SDK.
 *
 * A collaboration between Symfony and the PHP Foundation.
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */
namespace Matomo\Dependencies\McpServer\Mcp\Schema\Request;

use Matomo\Dependencies\McpServer\Mcp\Schema\JsonRpc\Request;
/**
 * Sent from the server to request a list of root URIs from the client. Roots allow
 * servers to ask for specific directories or files to operate on. A common example
 * for roots is providing a set of repositories or directories a server should operate
 * on.
 *
 * This request is typically used when the server needs to understand the file system
 * structure or access specific locations that the client has permission to read from.
 *
 * @author Kyrian Obikwelu <koshnawaza@gmail.com>
 */
final class ListRootsRequest extends Request
{
    public function __construct()
    {
    }
    public static function getMethod() : string
    {
        return 'roots/list';
    }
    protected static function fromParams(?array $params) : static
    {
        return new self();
    }
    protected function getParams() : ?array
    {
        return null;
    }
}
