inputSchema property

ObjectSchema get inputSchema

A JSON ObjectSchema object defining the expected parameters for the tool.

Implementation

ObjectSchema get inputSchema {
  final inputSchema = _value[Keys.inputSchema] as ObjectSchema?;
  if (inputSchema == null) {
    throw ArgumentError('Missing ${Keys.inputSchema} field in $Tool');
  }
  return inputSchema;
}