<?php

namespace Modules\AI\app\Agents\Contracts;

use Illuminate\Contracts\JsonSchema\JsonSchema;
use Modules\AI\app\Agents\ToolRequest;

interface Tool
{
    public function description(): string;

    public function schema(JsonSchema $schema): array;

    public function handle(ToolRequest $request): string;
}
