arguments property

Map<String, dynamic> arguments
final

The arguments to pass to the tool in JSON Map format.

Note that the model does not always generate a valid JSON, in that case, arguments will be empty but you can still see the raw response in argumentsRaw.

The model may also hallucinate parameters not defined by your tool schema. Validate the arguments in your code before calling your tool.

Implementation

final Map<String, dynamic> arguments;