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)
    {
      AgUiFields.name: tool.name,
      AgUiFields.description: tool.description,
      AgUiFields.parameters: tool.parameters,
    },
];