25 lines
401 B
PHP
25 lines
401 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Domain\Chat;
|
|
|
|
final class ToolResult
|
|
{
|
|
public function __construct(
|
|
private readonly string $toolCallId,
|
|
private readonly string $toolName,
|
|
) {
|
|
}
|
|
|
|
public function getToolCallId(): string
|
|
{
|
|
return $this->toolCallId;
|
|
}
|
|
|
|
public function getToolName(): string
|
|
{
|
|
return $this->toolName;
|
|
}
|
|
}
|