2.8.13
Add set methods to Tool interface
- setName
- setDescription
So you can now change this property on the fly attaching a tool to the agent:
protected function tools(): array
{
return [
MySQLSchemaTool::make(new \PDO(...), ['organizations', 'users'])->setName('account_schema'),
MySQLSchemaTool::make(new \PDO(...), ['orders', 'payments'])->setName('order_schema'),
];
}