tools property

List<Map<String, Object?>> get tools

The tools of AG-UI's RunAgentInput: the methods listed when this listing was read.

Implementation

List<Map<String, Object?>> get tools => [
  for (final tool in _tools.values)
    {
      'name': tool.name,
      'description': tool.description,
      'parameters': tool.parameters,
    },
];