<?php
/**
 * Prepared chatbot request.
 *
 * @package KimaAI\ChatBot
 */

declare(strict_types=1);

namespace KimaAI\ChatBot;

defined('ABSPATH') || exit;

final class ChatbotPreparedRequest {

  /**
   * Create a prepared chatbot request.
   *
   * @param array $payload Chatbot request payload.
   * @param array $ai_payload AI request payload.
   * @param array $chatbot_settings Chatbot settings.
   * @param array $tools Resolved tool definitions.
   * @param array|null $command Optional command payload.
   * @param array $data Raw JSON body data.
   */
  public function __construct(
    public array $payload,
    public array $ai_payload,
    public array $chatbot_settings,
    public array $tools,
    public ?array $command,
    public array $data,
  ) {
  }
}
