inputSchema property
ObjectSchema
get
inputSchema
A JSON ObjectSchema object defining the expected parameters for the tool.
Implementation
ObjectSchema get inputSchema {
final inputSchema = _value['inputSchema'] as ObjectSchema?;
if (inputSchema == null) {
throw ArgumentError('Missing inputSchema field in $Tool');
}
return inputSchema;
}