<?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\Notification;

use Matomo\Dependencies\McpServer\Mcp\Schema\JsonRpc\Notification;
/**
 * An optional notification from the server to the client, informing it that the list of tools it offers has changed. This may be issued by servers without any previous subscription from the client.
 *
 * @author Kyrian Obikwelu <koshnawaza@gmail.com>
 */
class ToolListChangedNotification extends Notification
{
    public static function getMethod() : string
    {
        return 'notifications/tools/list_changed';
    }
    protected static function fromParams(?array $params) : Notification
    {
        return new self();
    }
    protected function getParams() : ?array
    {
        return null;
    }
}
