<?php

namespace App\AI\Tools;

interface Tool
{
    /**
     * The tool definition, as the provider expects it.
     */
    public function definition(): array;

    /**
     * Run the tool and return its output.
     *
     * @param  array<string, mixed>  $arguments
     */
    public function use(array $arguments): string;
}
