• File: ToolUseContent.php
  • Full Path: /home/slvgwrnz/public_html/wp-content/plugins/elementor/vendor/wordpress/php-mcp-schema/src/Record/ToolUseContent.php
  • Date Modified: 11/05/2026 9:17 AM
  • File size: 1.32 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 ToolUseContent extends \WP\McpSchema\Record implements \WP\McpSchema\Contract\SamplingMessageContentBlock
{
    public const DEFINITION = 'ToolUseContent';

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

        return $value;
    }

    /**
     * @return string
     */
    public function getId(): string
    {
        /** @var string $value */
        $value = $this->declaredValue('id');

        return $value;
    }

    /**
     * @return \stdClass
     */
    public function getInput(): \stdClass
    {
        /** @var \stdClass $value */
        $value = $this->declaredValue('input');

        return $value;
    }

    /**
     * @return string
     */
    public function getName(): string
    {
        /** @var string $value */
        $value = $this->declaredValue('name');

        return $value;
    }

    /**
     * @return 'tool_use'
     */
    public function getType(): string
    {
        /** @var 'tool_use' $value */
        $value = $this->declaredValue('type');

        return $value;
    }
}