• File: CreateMessageRequestParams.php
  • Full Path: /home/slvgwrnz/public_html/wp-content/plugins/elementor/vendor/wordpress/php-mcp-schema/src/Record/CreateMessageRequestParams.php
  • Date Modified: 11/05/2026 9:17 AM
  • File size: 3.36 KB
  • MIME-type: text/x-php
  • Charset: utf-8
<?php

/**
 * This file is generated. Do not edit it directly.
 */

declare(strict_types=1);

namespace WP\McpSchema\Record;

final class CreateMessageRequestParams extends \WP\McpSchema\Record
{
    public const DEFINITION = 'CreateMessageRequestParams';

    /**
     * Declared in: 2025-11-25.
     *
     * @return \stdClass|null
     */
    public function getMeta(): ?\stdClass
    {
        /** @var \stdClass|null $value */
        $value = $this->declaredValue('_meta');

        return $value;
    }

    /**
     * @return 'allServers'|'none'|'thisServer'|null
     */
    public function getIncludeContext(): ?string
    {
        /** @var 'allServers'|'none'|'thisServer'|null $value */
        $value = $this->declaredValue('includeContext');

        return $value;
    }

    /**
     * @return float|int
     */
    public function getMaxTokens()
    {
        /** @var float|int $value */
        $value = $this->declaredValue('maxTokens');

        return $value;
    }

    /**
     * @return array<int, \WP\McpSchema\Record\SamplingMessage>
     */
    public function getMessages(): array
    {
        /** @var array<int, \WP\McpSchema\Record\SamplingMessage> $value */
        $value = $this->declaredValue('messages');

        return $value;
    }

    /**
     * @return \WP\McpSchema\Record\JSONObject|\stdClass|null
     */
    public function getMetadata()
    {
        /** @var \WP\McpSchema\Record\JSONObject|\stdClass|null $value */
        $value = $this->declaredValue('metadata');

        return $value;
    }

    /**
     * @return \WP\McpSchema\Record\ModelPreferences|null
     */
    public function getModelPreferences(): ?\WP\McpSchema\Record\ModelPreferences
    {
        /** @var \WP\McpSchema\Record\ModelPreferences|null $value */
        $value = $this->declaredValue('modelPreferences');

        return $value;
    }

    /**
     * @return array<int, string>|null
     */
    public function getStopSequences(): ?array
    {
        /** @var array<int, string>|null $value */
        $value = $this->declaredValue('stopSequences');

        return $value;
    }

    /**
     * @return null|string
     */
    public function getSystemPrompt(): ?string
    {
        /** @var null|string $value */
        $value = $this->declaredValue('systemPrompt');

        return $value;
    }

    /**
     * Declared in: 2025-11-25.
     *
     * @return \WP\McpSchema\Record\TaskMetadata|null
     */
    public function getTask(): ?\WP\McpSchema\Record\TaskMetadata
    {
        /** @var \WP\McpSchema\Record\TaskMetadata|null $value */
        $value = $this->declaredValue('task');

        return $value;
    }

    /**
     * @return float|int|null
     */
    public function getTemperature()
    {
        /** @var float|int|null $value */
        $value = $this->declaredValue('temperature');

        return $value;
    }

    /**
     * @return \WP\McpSchema\Record\ToolChoice|null
     */
    public function getToolChoice(): ?\WP\McpSchema\Record\ToolChoice
    {
        /** @var \WP\McpSchema\Record\ToolChoice|null $value */
        $value = $this->declaredValue('toolChoice');

        return $value;
    }

    /**
     * @return array<int, \WP\McpSchema\Record\Tool>|null
     */
    public function getTools(): ?array
    {
        /** @var array<int, \WP\McpSchema\Record\Tool>|null $value */
        $value = $this->declaredValue('tools');

        return $value;
    }
}