fromMethod

@ApiStatus.Internal
fun fromMethod(method: Method): Tool.InputSchema

Creates an InputSchema from all parameters of method.